protected MethodWriter(ClassOutline context) { this.codeModel = context.parent().getCodeModel(); }
/** * Gets {@link #_package} as {@link PackageOutlineImpl}, * since it's guaranteed to be of that type. */ public PackageOutlineImpl _package() { return (PackageOutlineImpl)super._package(); }
/** * {@link PackageOutline} that contains this class. */ public PackageOutline _package() { return parent().getPackageContext(implClass._package()); }
public boolean isAlwaysSet() { if (constantField != null) { return true; } else { return JExpr.TRUE == fieldAccessor.hasSetValue(); } }
@Override public JClass toType(Outline o, Aspect aspect) { return o.addRuntime(adapter); } public String fullName() {
protected MethodWriter(ClassOutline context) { this.codeModel = context.parent().getCodeModel(); }
/** * Gets {@link #_package} as {@link PackageOutlineImpl}, * since it's guaranteed to be of that type. */ public PackageOutlineImpl _package() { return (PackageOutlineImpl)super._package(); }
@Override public JClass toType(Outline o, Aspect aspect) { return o.addRuntime(adapter); } public String fullName() {
protected MethodWriter(ClassOutline context) { this.codeModel = context.parent().getCodeModel(); }
/** * Gets {@link #_package} as {@link PackageOutlineImpl}, * since it's guaranteed to be of that type. */ public PackageOutlineImpl _package() { return (PackageOutlineImpl)super._package(); }
@Override public JClass toType(Outline o, Aspect aspect) { return o.addRuntime(adapter); } public String fullName() {
protected MethodWriter(ClassOutline context) { this.codeModel = context.parent().getCodeModel(); }
/** * Gets {@link #_package} as {@link PackageOutlineImpl}, * since it's guaranteed to be of that type. */ public PackageOutlineImpl _package() { return (PackageOutlineImpl)super._package(); }
@Override public JClass toType(Outline o, Aspect aspect) { return o.addRuntime(adapter); } public String fullName() {