|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode
org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration
public abstract class AbstractMethodDeclaration
AspectJ Extension - added several extension points for subclasses
| Field Summary | |
|---|---|
Annotation[] |
annotations
|
Argument[] |
arguments
|
MethodBinding |
binding
|
int |
bodyEnd
|
int |
bodyStart
|
CompilationResult |
compilationResult
|
int |
declarationSourceEnd
|
int |
declarationSourceStart
|
int |
explicitDeclarations
|
boolean |
ignoreFurtherInvestigation
|
Javadoc |
javadoc
|
int |
modifiers
|
int |
modifiersSourceStart
|
MethodScope |
scope
|
char[] |
selector
|
Statement[] |
statements
|
TypeReference[] |
thrownExceptions
|
| Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemSeverities |
|---|
Abort, AbortCompilation, AbortCompilationUnit, AbortMethod, AbortType, Error, Fatal, Ignore, Optional, SecondaryError, Warning |
| Method Summary | |
|---|---|
void |
abort(int abortLevel,
CategorizedProblem problem)
|
abstract void |
analyseCode(ClassScope classScope,
InitializationFlowContext initializationContext,
FlowInfo info)
|
void |
bindArguments()
Bind and add argument's binding into the scope of the method |
void |
bindThrownExceptions()
Record the thrown exception type bindings in the corresponding type references. |
CompilationResult |
compilationResult()
|
void |
ensureScopeSetup()
Hook for subclasses to influence scope hierarchy. |
boolean |
finishResolveTypes(SourceTypeBinding sourceTypeBinding)
Called at the end of resolving types |
void |
generateCode(ClassFile classFile)
|
void |
generateCode(ClassScope classScope,
ClassFile classFile)
Bytecode generation for a method |
protected int |
generateInfoAttributes(ClassFile classFile)
Generates my info attributes, hook for subclasses |
boolean |
hasErrors()
|
boolean |
isAbstract()
|
boolean |
isAnnotationMethod()
|
boolean |
isClinit()
|
boolean |
isConstructor()
|
boolean |
isDefaultConstructor()
|
boolean |
isInitializationMethod()
|
boolean |
isMethod()
|
boolean |
isNative()
|
boolean |
isStatic()
|
abstract void |
parseStatements(Parser parser,
CompilationUnitDeclaration unit)
Fill up the method body with statement |
void |
postParse(TypeDeclaration typeDec)
Just before building bindings, hook for subclasses |
java.lang.StringBuffer |
print(int tab,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printBody(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printReturnType(int indent,
java.lang.StringBuffer output)
|
void |
resolve(ClassScope upperScope)
|
void |
resolveJavadoc()
|
void |
resolveStatements()
|
void |
tagAsHavingErrors()
|
void |
traverse(ASTVisitor visitor,
ClassScope classScope)
|
TypeParameter[] |
typeParameters()
|
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.ASTNode |
|---|
checkInvocationArguments, concreteStatement, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString, traverse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public MethodScope scope
public char[] selector
public int declarationSourceStart
public int declarationSourceEnd
public int modifiers
public int modifiersSourceStart
public Annotation[] annotations
public Argument[] arguments
public TypeReference[] thrownExceptions
public Statement[] statements
public int explicitDeclarations
public MethodBinding binding
public boolean ignoreFurtherInvestigation
public Javadoc javadoc
public int bodyStart
public int bodyEnd
public CompilationResult compilationResult
| Method Detail |
|---|
public void abort(int abortLevel,
CategorizedProblem problem)
abort in interface ReferenceContext
public abstract void analyseCode(ClassScope classScope,
InitializationFlowContext initializationContext,
FlowInfo info)
public void bindArguments()
public void bindThrownExceptions()
public CompilationResult compilationResult()
compilationResult in interface ReferenceContext
public void generateCode(ClassScope classScope,
ClassFile classFile)
classScope - classFile - public void generateCode(ClassFile classFile)
public boolean hasErrors()
hasErrors in interface ReferenceContextpublic boolean isAbstract()
public boolean isAnnotationMethod()
public boolean isClinit()
public boolean isConstructor()
public boolean isDefaultConstructor()
public boolean isInitializationMethod()
public boolean isMethod()
public boolean isNative()
public boolean isStatic()
public abstract void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
parser - unit -
public java.lang.StringBuffer print(int tab,
java.lang.StringBuffer output)
print in class ASTNode
public java.lang.StringBuffer printBody(int indent,
java.lang.StringBuffer output)
public java.lang.StringBuffer printReturnType(int indent,
java.lang.StringBuffer output)
public void resolve(ClassScope upperScope)
public void resolveJavadoc()
public void resolveStatements()
public void tagAsHavingErrors()
tagAsHavingErrors in interface ReferenceContext
public void traverse(ASTVisitor visitor,
ClassScope classScope)
public TypeParameter[] typeParameters()
public boolean finishResolveTypes(SourceTypeBinding sourceTypeBinding)
public void postParse(TypeDeclaration typeDec)
protected int generateInfoAttributes(ClassFile classFile)
public void ensureScopeSetup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||