Class JavaSourceAnnotationInfo
java.lang.Object
gw.internal.gosu.parser.java.classinfo.JavaSourceAnnotationInfo
- All Implemented Interfaces:
IAnnotationInfo
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.sun.source.tree.AnnotationTree
private IModule
private String
private IJavaAnnotatedElement
private IJavaClassInfo
-
Constructor Summary
ConstructorsConstructorDescriptionJavaSourceAnnotationInfo
(com.sun.source.tree.AnnotationTree annotationTree, IJavaAnnotatedElement owner) -
Method Summary
Modifier and TypeMethodDescriptionprivate Object
evaluate
(IJavaClassInfo type, com.sun.source.tree.ExpressionTree valueTree) private JavaSourceType
getFieldValue
(String fieldName) getName()
getType()
private IType
handleSingleElementArrayType
(String text, IJavaClassInfo type) private void
private Object
parseEnum
(String text, IJavaClassInfo type) private Object
parseValue
(IJavaClassMethod method) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gw.lang.reflect.IAnnotationInfo
getTarget
-
Field Details
-
_annotationTree
private com.sun.source.tree.AnnotationTree _annotationTree -
_owner
-
_gosuModule
-
_name
-
_type
-
-
Constructor Details
-
JavaSourceAnnotationInfo
public JavaSourceAnnotationInfo(com.sun.source.tree.AnnotationTree annotationTree, IJavaAnnotatedElement owner)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceIAnnotationInfo
-
getInstance
- Specified by:
getInstance
in interfaceIAnnotationInfo
-
getFieldValue
- Specified by:
getFieldValue
in interfaceIAnnotationInfo
-
parseValue
-
evaluate
-
handleSingleElementArrayType
-
getEnclosingType
-
parseEnum
-
getName
- Specified by:
getName
in interfaceIAnnotationInfo
-
initNameAndType
private void initNameAndType() -
getDescription
- Specified by:
getDescription
in interfaceIAnnotationInfo
-
getOwnersType
- Specified by:
getOwnersType
in interfaceIAnnotationInfo
-