| java.lang.Object com.tc.aspectwerkz.annotation.AsmAnnotations
AsmAnnotations | public class AsmAnnotations (Code) | | Helper class to extract annotations by their name from a ClassInfo structure using backport API.
author: Jonas BonŽr author: Alexandre Vasseur |
Method Summary | |
public static Annotation | getAnnotation(String annotationName, ClassInfo classInfo) Return the annotation with a specific name for a specific class.
Parameters: annotationName - the annotation name Parameters: classInfo - the ClassInfo object to find the annotation on. | public static Annotation | getAnnotation(String annotationName, MethodInfo methodInfo) Return the annotation with a specific name for a specific method.
Parameters: annotationName - the annotation name Parameters: methodInfo - the MethodInfo object to find the annotation on. | public static Annotation | getAnnotation(String annotationName, ConstructorInfo constructorInfo) Return the annotation with a specific name for a specific constructor.
Parameters: annotationName - the annotation name Parameters: constructorInfo - the ConstructorInfo object to find the annotation on. | public static Annotation | getAnnotation(String annotationName, FieldInfo fieldInfo) Return the annotation with a specific name for a specific field.
Parameters: annotationName - the annotation name Parameters: fieldInfo - the FieldInfo object to find the annotation on. |
getAnnotation | public static Annotation getAnnotation(String annotationName, ClassInfo classInfo)(Code) | | Return the annotation with a specific name for a specific class.
Parameters: annotationName - the annotation name Parameters: classInfo - the ClassInfo object to find the annotation on. the annotation or null |
getAnnotation | public static Annotation getAnnotation(String annotationName, MethodInfo methodInfo)(Code) | | Return the annotation with a specific name for a specific method.
Parameters: annotationName - the annotation name Parameters: methodInfo - the MethodInfo object to find the annotation on. the annotation or null |
getAnnotation | public static Annotation getAnnotation(String annotationName, ConstructorInfo constructorInfo)(Code) | | Return the annotation with a specific name for a specific constructor.
Parameters: annotationName - the annotation name Parameters: constructorInfo - the ConstructorInfo object to find the annotation on. the annotation or null |
getAnnotation | public static Annotation getAnnotation(String annotationName, FieldInfo fieldInfo)(Code) | | Return the annotation with a specific name for a specific field.
Parameters: annotationName - the annotation name Parameters: fieldInfo - the FieldInfo object to find the annotation on. the annotation or null |
|
|