|
|||||||||
| 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.PointcutDeclaration
public class PointcutDeclaration
pointcut [declaredModifiers] [declaredName]([arguments]): [pointcutDesignator];
No method will actually be generated for this node but an attribute will be added to the enclosing class.
| Field Summary | |
|---|---|
static char[] |
mangledPrefix
|
PointcutDesignator |
pointcutDesignator
|
| 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 | |
|---|---|
PointcutDeclaration(CompilationResult compilationResult)
|
|
| Method Summary | |
|---|---|
void |
addAtAspectJAnnotations()
Called from the AtAspectJVisitor to create the @Pointcut annotation (and corresponding method) for this pointcut |
void |
generateCode(ClassScope classScope,
ClassFile classFile)
A pointcut declaration exists in a classfile only as an attibute on the class. |
protected int |
generateInfoAttributes(ClassFile classFile)
Generates my info attributes, hook for subclasses |
AjAttribute |
makeAttribute()
|
ResolvedPointcutDefinition |
makeResolvedPointcutDefinition(EclipseFactory inWorld)
|
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 |
printBody(int indent,
java.lang.StringBuffer output)
|
java.lang.StringBuffer |
printReturnType(int indent,
java.lang.StringBuffer output)
|
void |
resolve(ClassScope upperScope)
|
void |
resolvePointcut(ClassScope upperScope)
|
void |
resolveStatements()
|
void |
setGenerateSyntheticPointcutMethod()
|
| 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, 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, print, 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 static final char[] mangledPrefix
public PointcutDesignator pointcutDesignator
| Constructor Detail |
|---|
public PointcutDeclaration(CompilationResult compilationResult)
| Method Detail |
|---|
public void parseStatements(Parser parser,
CompilationUnitDeclaration unit)
AbstractMethodDeclaration
parseStatements in class MethodDeclarationpublic void postParse(TypeDeclaration typeDec)
AbstractMethodDeclaration
postParse in class AbstractMethodDeclarationpublic void addAtAspectJAnnotations()
public void setGenerateSyntheticPointcutMethod()
public void resolve(ClassScope upperScope)
resolve in class AbstractMethodDeclarationpublic void resolvePointcut(ClassScope upperScope)
public void resolveStatements()
resolveStatements in class MethodDeclarationpublic ResolvedPointcutDefinition makeResolvedPointcutDefinition(EclipseFactory inWorld)
public AjAttribute makeAttribute()
public void generateCode(ClassScope classScope,
ClassFile classFile)
generateCode in class AbstractMethodDeclarationprotected int generateInfoAttributes(ClassFile classFile)
AbstractMethodDeclaration
generateInfoAttributes in class AjMethodDeclaration
public java.lang.StringBuffer printReturnType(int indent,
java.lang.StringBuffer output)
printReturnType in class MethodDeclaration
public java.lang.StringBuffer printBody(int indent,
java.lang.StringBuffer output)
printBody in class AbstractMethodDeclaration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||