Package gw.internal.gosu.parser
Class ClassAnnotationInfo
- java.lang.Object
-
- gw.internal.gosu.parser.ClassAnnotationInfo
-
- All Implemented Interfaces:
IAnnotationInfo,java.io.Serializable
public class ClassAnnotationInfo extends java.lang.Object implements IAnnotationInfo
Holds annotation information for a feature- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.annotation.Annotation_annotationprivate IType_containerType
-
Constructor Summary
Constructors Constructor Description ClassAnnotationInfo(java.lang.annotation.Annotation annotation, IType containerType)ClassAnnotationInfo(java.lang.annotation.Annotation annotation, IJavaAnnotatedElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.lang.ObjectgetFieldValue(java.lang.String fieldName)java.lang.annotation.AnnotationgetInstance()java.lang.StringgetName()ITypegetOwnersType()ITypegetType()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 java.lang.annotation.Annotation _annotation
-
_containerType
private IType _containerType
-
-
Constructor Detail
-
ClassAnnotationInfo
public ClassAnnotationInfo(java.lang.annotation.Annotation annotation, IType containerType)
-
ClassAnnotationInfo
public ClassAnnotationInfo(java.lang.annotation.Annotation annotation, IJavaAnnotatedElement element)
-
-
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
-
getType
public IType getType()
- Specified by:
getTypein interfaceIAnnotationInfo
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-