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
public class JavaSourceEnumConstant extends JavaSourceField
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class gw.internal.gosu.parser.java.classinfo.JavaSourceField
_containingClass, _fieldTree, _genericType, _modifierList, _type
-
-
Constructor Summary
Constructors Constructor Description JavaSourceEnumConstant(VariableTree fieldTree, JavaSourceType containingClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJavaClassType
getGenericType()
IModifierList
getModifierList()
IJavaClassInfo
getType()
boolean
isEnumConstant()
-
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 Detail
-
JavaSourceEnumConstant
public JavaSourceEnumConstant(VariableTree fieldTree, JavaSourceType containingClass)
-
-
Method Detail
-
getType
public IJavaClassInfo getType()
- Specified by:
getType
in interfaceIJavaClassField
- Overrides:
getType
in classJavaSourceField
-
getGenericType
public IJavaClassType getGenericType()
- Specified by:
getGenericType
in interfaceIJavaClassField
- Overrides:
getGenericType
in classJavaSourceField
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstant
in interfaceIJavaClassField
- Overrides:
isEnumConstant
in classJavaSourceField
-
getModifierList
public IModifierList getModifierList()
- Overrides:
getModifierList
in classJavaSourceField
-
-