| java.lang.Object org.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotationHelper
All known Subclasses: org.codehaus.aspectwerkz.transform.inlining.weaver.AlreadyAddedMethodVisitor, org.codehaus.aspectwerkz.transform.inlining.weaver.AlreadyAddedMethodAdapter,
AsmAnnotationHelper | public class AsmAnnotationHelper (Code) | | Helper visitor to extract Annotations.
The visitors are not writing any bytecode and using a Null ClassVisitor / Code Visitor as a target instead.
author: Alexandre Vasseur |
Inner Class :public static class ClassAnnotationExtractor extends AnnotationExtractor | |
Inner Class :public static class MethodAnnotationExtractor extends MemberAnnotationExtractor | |
Inner Class :public static class ConstructorAnnotationExtractor extends MethodAnnotationExtractor | |
Inner Class :public static class FieldAnnotationExtractor extends MemberAnnotationExtractor | |
Inner Class :public static class NullClassAdapter implements ClassVisitor | |
Inner Class :public static class NullCodeAdapter implements CodeVisitor | |
extractAnnotations | public static List extractAnnotations(List annotations, Attribute attribute, ClassLoader loader)(Code) | | Helper method to extract Runtime(In)VisibleAnnotations and unwrap custom annotation proxies
Parameters: annotations - Parameters: attribute - Parameters: loader - annotations list populated |
getAnnotationInfo | public static AnnotationInfo getAnnotationInfo(Annotation annotation, ClassLoader loader)(Code) | | Creates and returns a new annotation info build up from the Java5 annotation.
Parameters: annotation - the ASM annotation abstraction Parameters: loader - the class loader that has loaded the proxy class to use the annotation info |
|
|