Logo Search packages:      
Sourcecode: aspectj version File versions  Download package

org::aspectj::ajdt::internal::compiler::ast::AdviceDeclaration Class Reference

Inheritance diagram for org::aspectj::ajdt::internal::compiler::ast::AdviceDeclaration:

org::aspectj::ajdt::internal::compiler::ast::AjMethodDeclaration org::aspectj::org::eclipse::jdt::core::dom::AfterAdviceDeclaration org::aspectj::org::eclipse::jdt::core::dom::AroundAdviceDeclaration org::aspectj::org::eclipse::jdt::core::dom::BeforeAdviceDeclaration org::aspectj::org::eclipse::jdt::core::dom::AfterReturningAdviceDeclaration org::aspectj::org::eclipse::jdt::core::dom::AfterThrowingAdviceDeclaration

List of all members.


Detailed Description

Represents before, after and around advice in an aspect. Will generate a method corresponding to the body of the advice with an attribute including additional information.

Author:
Jim Hugunin

Definition at line 53 of file AdviceDeclaration.java.


Public Member Functions

void addAtAspectJAnnotations ()
 AdviceDeclaration (CompilationResult result, AdviceKind kind)
void generateCode (ClassScope classScope, ClassFile classFile)
int getDeclaredParameterCount ()
void postParse (TypeDeclaration typeDec)
StringBuffer printBody (int indent, StringBuffer output)
StringBuffer printReturnType (int indent, StringBuffer output)
void resolveStatements ()

Static Public Member Functions

static Argument[] addTjpArguments (Argument[] arguments)

Public Attributes

Argument extraArgument
AdviceKind kind
PointcutDesignator pointcutDesignator
List proceedCalls = new ArrayList(2)
MethodBinding proceedMethodBinding

Protected Member Functions

void addAttribute (EclipseAttributeAdapter eaa)
void addDeclarationStartLineAttribute (List extraAttributeList, ClassFile classFile)
int generateInfoAttributes (ClassFile classFile, boolean addAjSynthetic)
int generateInfoAttributes (ClassFile classFile)

Package Attributes

int baseArgumentCount

Private Member Functions

String buildArgNameRepresentation ()
int checkAndSetModifiers (int modifiers, ClassScope scope)
void determineExtraArgumentFlags ()
void generateProceedMethod (ClassScope classScope, ClassFile classFile)
AjAttribute makeAttribute ()

Static Private Member Functions

static Argument[] extendArgumentsLength (Argument[] args, int addedArguments)
static Argument makeFinalArgument (String name, TypeReference typeRef)
static TypeBinding[] resize (int newSize, TypeBinding[] bindings)

Private Attributes

UnresolvedType[] declaredExceptions
int extraArgumentFlags = 0
boolean[] formalsUnchangedToProceed
ResolvedMember[] proceedCallSignatures
boolean proceedInInners

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index