Package gw.internal.gosu.parser
Class ClassAnnotationInfo
- java.lang.Object
-
- gw.internal.gosu.parser.ClassAnnotationInfo
-
- All Implemented Interfaces:
IAnnotationInfo,Serializable
public class ClassAnnotationInfo extends Object implements IAnnotationInfo
Holds annotation information for a feature- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassAnnotationInfo(Annotation annotation, IType containerType)ClassAnnotationInfo(Annotation annotation, IJavaAnnotatedElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetDisplayName()ObjectgetFieldValue(String fieldName)AnnotationgetInstance()StringgetName()ITypegetOwnersType()ITypegetType()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
-
-
-
-
Constructor Detail
-
ClassAnnotationInfo
public ClassAnnotationInfo(Annotation annotation, IType containerType)
-
ClassAnnotationInfo
public ClassAnnotationInfo(Annotation annotation, IJavaAnnotatedElement element)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceIAnnotationInfo
-
getOwnersType
public IType getOwnersType()
- Specified by:
getOwnersTypein interfaceIAnnotationInfo
-
getDisplayName
public String getDisplayName()
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIAnnotationInfo
-
getInstance
public Annotation getInstance()
- Specified by:
getInstancein interfaceIAnnotationInfo
-
getFieldValue
public Object getFieldValue(String fieldName)
- Specified by:
getFieldValuein interfaceIAnnotationInfo
-
getType
public IType getType()
- Specified by:
getTypein interfaceIAnnotationInfo
-
-