|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.annotation.instrumentation.asm.AsmAnnotations
Helper class to extract annotations by their name from a ClassInfo structure.
Constructor Summary | |
AsmAnnotations()
|
Method Summary | |
static Annotation |
getAnnotation(String annotationName,
ClassInfo classInfo)
Return the annotation with a specific name for a specific class. |
static Annotation |
getAnnotation(String annotationName,
ConstructorInfo constructorInfo)
Return the annotation with a specific name for a specific constructor. |
static Annotation |
getAnnotation(String annotationName,
FieldInfo fieldInfo)
Return the annotation with a specific name for a specific field. |
static Annotation |
getAnnotation(String annotationName,
MethodInfo methodInfo)
Return the annotation with a specific name for a specific method. |
static List |
getAnnotations(String annotationName,
ClassInfo classInfo)
Return a list with the annotations with a specific name for a specific class. |
static List |
getAnnotations(String annotationName,
ConstructorInfo constructorInfo)
Return a list with the annotations with a specific name for a specific constructor. |
static List |
getAnnotations(String annotationName,
FieldInfo fieldInfo)
Return a list with the annotations with a specific name for a specific field. |
static List |
getAnnotations(String annotationName,
MethodInfo methodInfo)
Return a list with the annotations with a specific name for a specific method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AsmAnnotations()
Method Detail |
public static Annotation getAnnotation(String annotationName, ClassInfo classInfo)
annotationName
- the annotation nameclassInfo
- the ClassInfo object to find the annotation on.
public static Annotation getAnnotation(String annotationName, MethodInfo methodInfo)
annotationName
- the annotation namemethodInfo
- the MethodInfo object to find the annotation on.
public static Annotation getAnnotation(String annotationName, ConstructorInfo constructorInfo)
annotationName
- the annotation nameconstructorInfo
- the ConstructorInfo object to find the annotation on.
public static Annotation getAnnotation(String annotationName, FieldInfo fieldInfo)
annotationName
- the annotation namefieldInfo
- the FieldInfo object to find the annotation on.
public static List getAnnotations(String annotationName, ClassInfo classInfo)
annotationName
- the annotation nameclassInfo
- ClassInfo object to find the annotation on.
public static List getAnnotations(String annotationName, MethodInfo methodInfo)
annotationName
- the annotation namemethodInfo
- the MethodInfo object to find the annotation on.
public static List getAnnotations(String annotationName, ConstructorInfo constructorInfo)
annotationName
- the annotation nameconstructorInfo
- the ConstructorInfo object to find the annotation on.
public static List getAnnotations(String annotationName, FieldInfo fieldInfo)
annotationName
- the annotation namefieldInfo
- the FieldInfo object to find the annotation on.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |