Logo Search packages:      
Sourcecode: aspectj version File versions

org::aspectj::org::eclipse::jdt::core::dom::AfterThrowingAdviceDeclaration Class Reference

Inheritance diagram for org::aspectj::org::eclipse::jdt::core::dom::AfterThrowingAdviceDeclaration:

org::aspectj::org::eclipse::jdt::core::dom::AfterAdviceDeclaration org::aspectj::ajdt::internal::compiler::ast::AdviceDeclaration org::aspectj::ajdt::internal::compiler::ast::AjMethodDeclaration

List of all members.


Detailed Description

AfterThrowingAdviceDeclaration DOM AST node. has: everything an AfterAdviceDeclaration has, an optional throwing property

It inherits property descriptors from AdviceDeclaration, but needs to add one for its throwing property, but I can't mix descripters from two different classes in a property list, so I have to redefine them all here and use a 'throwing' prefix to distinguish them from the ones defined in AdviceDeclaration. There has to be a better way, but this works.

Author:
ajh02

Definition at line 32 of file AfterThrowingAdviceDeclaration.java.


Public Member Functions

void addAtAspectJAnnotations ()
void generateCode (ClassScope classScope, ClassFile classFile)
int getDeclaredParameterCount ()
SingleVariableDeclaration getThrowing ()
void postParse (TypeDeclaration typeDec)
StringBuffer printBody (int indent, StringBuffer output)
StringBuffer printReturnType (int indent, StringBuffer output)
void resolveStatements ()
void setThrowing (SingleVariableDeclaration throwing)

Static Public Member Functions

static Argument[] addTjpArguments (Argument[] arguments)
static List propertyDescriptors (int apiLevel)

Public Attributes

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

Static Public Attributes

static final
ChildPropertyDescriptor 
throwingBODY_PROPERTY
static final
ChildPropertyDescriptor 
throwingJAVADOC_PROPERTY
static final
ChildListPropertyDescriptor 
throwingPARAMETERS_PROPERTY
static final
ChildPropertyDescriptor 
throwingPOINTCUT_PROPERTY
static final
ChildPropertyDescriptor 
throwingTHROWING_PROPERTY
static final
ChildListPropertyDescriptor 
throwingTHROWN_EXCEPTIONS_PROPERTY

Protected Member Functions

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

Static Protected Attributes

static List throwingPROPERTY_DESCRIPTORS_2_0
static List throwingPROPERTY_DESCRIPTORS_3_0

Package Functions

void accept0 (ASTVisitor visitor)
 AfterThrowingAdviceDeclaration (AST ast)
ASTNode clone0 (AST target)
final ASTNode internalGetSetChildProperty (ChildPropertyDescriptor property, boolean get, ASTNode child)
final boolean subtreeMatch0 (ASTMatcher matcher, Object other)
int treeSize ()

Static Package Functions

 [static initializer]

Package Attributes

int baseArgumentCount

Private Attributes

SingleVariableDeclaration throwing = null

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

Generated by  Doxygen 1.6.0   Back to index