List of usage examples for org.eclipse.jdt.internal.compiler.ast ASTNode NeedFreeReturn
int NeedFreeReturn
To view the source code for org.eclipse.jdt.internal.compiler.ast ASTNode NeedFreeReturn.
Click Source Link
From source file:org.eclipse.objectteams.otdt.internal.core.compiler.ast.RoleInitializationMethod.java
License:Open Source License
/** * @param compilationResult//from ww w .jav a 2 s . c o m */ public RoleInitializationMethod(CompilationResult compilationResult) { super(compilationResult); this.returnType = TypeReference.baseTypeReference(TypeIds.T_void, 0, null); this.selector = INIT_METHOD_NAME; this.bits |= ASTNode.NeedFreeReturn; this.isGenerated = true; // set private to disable overriding along extends: // (each constructor calls the corresponding init fields, // which must stay within the constructor's class). this.modifiers = ClassFileConstants.AccPrivate; }