|
|||||||||
| 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
org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration
org.aspectj.ajdt.internal.compiler.ast.AjMethodDeclaration
org.aspectj.ajdt.internal.compiler.ast.DeclareDeclaration
public class DeclareDeclaration
| Field Summary | |
|---|---|
Declare |
declareDecl
|
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
returnType, typeParameters |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
annotations, arguments, binding, bodyEnd, bodyStart, compilationResult, declarationSourceEnd, declarationSourceStart, explicitDeclarations, ignoreFurtherInvestigation, javadoc, modifiers, modifiersSourceStart, scope, selector, statements, 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 |
| Constructor Summary | |
|---|---|
DeclareDeclaration(CompilationResult result,
Declare symbolicDeclare)
Constructor for IntraTypeDeclaration. |
|
| Method Summary | |
|---|---|
void |
addAtAspectJAnnotations()
|
Declare |
build(ClassScope classScope)
|
void |
generateCode(ClassScope classScope,
ClassFile classFile)
A declare declaration exists in a classfile only as an attibute on the class. |
protected int |
generateInfoAttributes(ClassFile classFile)
We need the ajc$declare method that is created to represent this declare to be marked as synthetic |
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)
|
void |
resolveStatements(ClassScope upperScope)
|
protected boolean |
shouldBeSynthetic()
|
protected boolean |
shouldDelegateCodeGeneration()
|
| Methods inherited from class org.aspectj.ajdt.internal.compiler.ast.AjMethodDeclaration |
|---|
addAttribute, addDeclarationStartLineAttribute, generateInfoAttributes |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.MethodDeclaration |
|---|
analyseCode, isMethod, printReturnType, resolveStatements, traverse, typeParameters |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration |
|---|
abort, bindArguments, bindThrownExceptions, compilationResult, ensureScopeSetup, finishResolveTypes, generateCode, hasErrors, isAbstract, isAnnotationMethod, isClinit, isConstructor, isDefaultConstructor, isInitializationMethod, isNative, isStatic, printBody, resolve, resolveJavadoc, tagAsHavingErrors |
| 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 Declare declareDecl
| Constructor Detail |
|---|
public DeclareDeclaration(CompilationResult result,
Declare symbolicDeclare)
| Method Detail |
|---|
public void addAtAspectJAnnotations()
public void generateCode(ClassScope classScope,
ClassFile classFile)
generateCode in class AbstractMethodDeclarationprotected boolean shouldDelegateCodeGeneration()
protected boolean shouldBeSynthetic()
public void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements in class MethodDeclarationpublic void resolveStatements(ClassScope upperScope)
public Declare build(ClassScope classScope)
public java.lang.StringBuffer print(int tab,
java.lang.StringBuffer output)
print in class AbstractMethodDeclarationprotected int generateInfoAttributes(ClassFile classFile)
generateInfoAttributes in class AjMethodDeclarationpublic void postParse(TypeDeclaration typeDec)
AbstractMethodDeclaration
postParse in class AbstractMethodDeclaration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||