Class JavaSourceEnumConstant
java.lang.Object
gw.lang.reflect.java.JavaSourceElement
gw.internal.gosu.parser.java.classinfo.JavaSourceField
gw.internal.gosu.parser.java.classinfo.JavaSourceEnumConstant
- All Implemented Interfaces:
IJavaAnnotatedElement
,IJavaClassField
,Serializable
- See Also:
-
Field Summary
Fields inherited from class gw.internal.gosu.parser.java.classinfo.JavaSourceField
_containingClass, _fieldTree, _genericType, _modifierList, _type
-
Constructor Summary
ConstructorsConstructorDescriptionJavaSourceEnumConstant
(com.sun.source.tree.VariableTree fieldTree, JavaSourceType containingClass) -
Method Summary
Methods inherited from class gw.internal.gosu.parser.java.classinfo.JavaSourceField
create, getAnnotation, getDeclaredAnnotations, getEnclosingClass, getModifiers, getName, getRhs, getTree, isAnnotationPresent, isEnumInit, isSynthetic, toString
Methods inherited from class gw.lang.reflect.java.JavaSourceElement
findInnerSourceType, getCompilationUnitTree, getDeclaringClass, getEndPosition, getLocationInfo, getSourcePositions, getStartPosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gw.lang.reflect.java.IJavaAnnotatedElement
getLocationInfo
-
Constructor Details
-
JavaSourceEnumConstant
public JavaSourceEnumConstant(com.sun.source.tree.VariableTree fieldTree, JavaSourceType containingClass)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceIJavaClassField
- Overrides:
getType
in classJavaSourceField
-
getGenericType
- Specified by:
getGenericType
in interfaceIJavaClassField
- Overrides:
getGenericType
in classJavaSourceField
-
isEnumConstant
public boolean isEnumConstant()- Specified by:
isEnumConstant
in interfaceIJavaClassField
- Overrides:
isEnumConstant
in classJavaSourceField
-
getModifierList
- Overrides:
getModifierList
in classJavaSourceField
-