|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.annotation.AspectAnnotationParser
public class AspectAnnotationParser
Extracts the aspects annotations from the class files and creates a meta-data representation of them.
Note: we are not using reflection to loop over fields, etc, so that we do not trigger nested loading, which could be
potential target classes.
Method Summary | |
---|---|
static String |
getExpressionElseValue(String value,
String pointcut)
Handles specific syntax for @AfterXXX annotation, where we can write it using the default "value" element or instead specify the pointcut using "pointcut", and optionally a "type" element. |
static void |
parse(ClassInfo classInfo,
AspectDefinition aspectDef,
ClassLoader loader)
Parse the attributes and create and return a meta-data representation of them. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void parse(ClassInfo classInfo, AspectDefinition aspectDef, ClassLoader loader)
classInfo
- the class to extract attributes fromaspectDef
- the aspect definitionloader
- public static String getExpressionElseValue(String value, String pointcut)
value
- pointcut
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |