Example usage for Java org.eclipse.jdt.internal.compiler.ast TypeDeclaration fields, constructors, methods, implement or subclass
The text is from its open source code.
int | CLASS_DECL |
int | INTERFACE_DECL |
int | ENUM_DECL |
int | ANNOTATION_TYPE_DECL |
CompilationResult | compilationResult |
void | addClinit() This method is responsible for adding a |
MethodDeclaration | addMissingAbstractMethodFor(MethodBinding methodBinding) |
void | analyseCode(ClassScope enclosingClassScope) Flow analysis for a member innertype |
void | analyseCode(CompilationUnitScope unitScope) Flow analysis for a package member type |
boolean | checkConstructors(Parser parser) Check for constructor vs. |
ConstructorDeclaration | createDefaultConstructor(boolean needExplicitConstructorCall, boolean needToInsert) |
FieldDeclaration | declarationOf(FieldBinding fieldBinding) Find the matching parse node, answers null if nothing found |
TypeDeclaration | declarationOf(MemberTypeBinding memberTypeBinding) Find the matching parse node, answers null if nothing found |
AbstractMethodDeclaration | declarationOf(MethodBinding methodBinding) Find the matching parse node, answers null if nothing found |
boolean | hasErrors() |
boolean | isSecondary() Returns whether the type is a secondary one or not. |
int | kind(int flags) |
StringBuffer | printHeader(int indent, StringBuffer output) |
void | resolve(BlockScope blockScope) Resolve a local type declaration |
void | resolve(ClassScope upperScope) Resolve a member type declaration (can be a local member) |
void | resolve(CompilationUnitScope upperScope) Resolve a top level type declaration |
int | sourceStart() |
void | tagAsHavingErrors() |
void | traverse(ASTVisitor visitor, CompilationUnitScope unitScope) Iteration for a package member type |
void | traverse(ASTVisitor visitor, BlockScope blockScope) Iteration for a local inner type |
void | traverse(ASTVisitor visitor, ClassScope classScope) Iteration for a member innertype |