| java.lang.Object org.codehaus.aspectwerkz.annotation.AspectAnnotationParser
AspectAnnotationParser | public class AspectAnnotationParser (Code) | | 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.
author: Jonas BonŽr author: Alexandre Vasseur |
Method Summary | |
public 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.
Parameters: value - Parameters: pointcut - the one of value or expression which is not null. | public static void | parse(ClassInfo classInfo, AspectDefinition aspectDef, ClassLoader loader) Parse the attributes and create and return a meta-data representation of them. |
getExpressionElseValue | public static String getExpressionElseValue(String value, String pointcut)(Code) | | 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.
Parameters: value - Parameters: pointcut - the one of value or expression which is not null. Both cannot be specified at the same time |
parse | public static void parse(ClassInfo classInfo, AspectDefinition aspectDef, ClassLoader loader)(Code) | | Parse the attributes and create and return a meta-data representation of them.
Parameters: classInfo - the class to extract attributes from Parameters: aspectDef - the aspect definition Parameters: loader - |
|
|