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.AnnotationTreeprivate IModuleprivate Stringprivate IJavaAnnotatedElementprivate IJavaClassInfo -
Constructor Summary
ConstructorsConstructorDescriptionJavaSourceAnnotationInfo(com.sun.source.tree.AnnotationTree annotationTree, IJavaAnnotatedElement owner) -
Method Summary
Modifier and TypeMethodDescriptionprivate Objectevaluate(IJavaClassInfo type, com.sun.source.tree.ExpressionTree valueTree) private JavaSourceTypegetFieldValue(String fieldName) getName()getType()private ITypehandleSingleElementArrayType(String text, IJavaClassInfo type) private voidprivate ObjectparseEnum(String text, IJavaClassInfo type) private ObjectparseValue(IJavaClassMethod method) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getTypein interfaceIAnnotationInfo
-
getInstance
- Specified by:
getInstancein interfaceIAnnotationInfo
-
getFieldValue
- Specified by:
getFieldValuein interfaceIAnnotationInfo
-
parseValue
-
evaluate
-
handleSingleElementArrayType
-
getEnclosingType
-
parseEnum
-
getName
- Specified by:
getNamein interfaceIAnnotationInfo
-
initNameAndType
private void initNameAndType() -
getDescription
- Specified by:
getDescriptionin interfaceIAnnotationInfo
-
getOwnersType
- Specified by:
getOwnersTypein interfaceIAnnotationInfo
-