Class AsmClassAnnotationInfo
- java.lang.Object
-
- gw.internal.gosu.parser.java.classinfo.AsmClassAnnotationInfo
-
- All Implemented Interfaces:
IAnnotationInfo,java.io.Serializable
public class AsmClassAnnotationInfo extends java.lang.Object implements IAnnotationInfo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private AsmAnnotation_annotationprivate IJavaAnnotatedElement_ownerprivate static java.util.Map<java.lang.String,java.lang.Class>SUPPORTED_TYPES
-
Constructor Summary
Constructors Constructor Description AsmClassAnnotationInfo(AsmAnnotation annotation, IJavaAnnotatedElement owner)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private IModulefindModule(IJavaAnnotatedElement elem)private static java.lang.Class<?>getClass(IJavaClassInfo ci)java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.lang.ObjectgetFieldValue(java.lang.String fieldName)java.lang.annotation.AnnotationgetInstance()java.lang.StringgetName()ITypegetOwnersType()ITypegetType()static java.lang.ObjectmakeArray(IJavaClassInfo ci, java.util.List l, IJavaAnnotatedElement owner)private java.lang.ObjectmakeArray(java.lang.String fieldName, java.util.List l)private java.lang.ObjectnormalizeValue(java.lang.String fieldName, java.lang.Object value)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IAnnotationInfo
getTarget
-
-
-
-
Field Detail
-
_annotation
private AsmAnnotation _annotation
-
_owner
private IJavaAnnotatedElement _owner
-
SUPPORTED_TYPES
private static final java.util.Map<java.lang.String,java.lang.Class> SUPPORTED_TYPES
-
-
Constructor Detail
-
AsmClassAnnotationInfo
public AsmClassAnnotationInfo(AsmAnnotation annotation, IJavaAnnotatedElement owner)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceIAnnotationInfo
-
getOwnersType
public IType getOwnersType()
- Specified by:
getOwnersTypein interfaceIAnnotationInfo
-
getDisplayName
public java.lang.String getDisplayName()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceIAnnotationInfo
-
getInstance
public java.lang.annotation.Annotation getInstance()
- Specified by:
getInstancein interfaceIAnnotationInfo
-
getFieldValue
public java.lang.Object getFieldValue(java.lang.String fieldName)
- Specified by:
getFieldValuein interfaceIAnnotationInfo
-
normalizeValue
private java.lang.Object normalizeValue(java.lang.String fieldName, java.lang.Object value)
-
makeArray
private java.lang.Object makeArray(java.lang.String fieldName, java.util.List l)
-
findModule
private IModule findModule(IJavaAnnotatedElement elem)
-
getType
public IType getType()
- Specified by:
getTypein interfaceIAnnotationInfo
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
makeArray
public static java.lang.Object makeArray(IJavaClassInfo ci, java.util.List l, IJavaAnnotatedElement owner) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
getClass
private static java.lang.Class<?> getClass(IJavaClassInfo ci)
-
-