Package gw.internal.gosu.parser
Class AsmFieldJavaClassField
- java.lang.Object
-
- gw.lang.reflect.java.JavaSourceElement
-
- gw.internal.gosu.parser.AsmFieldJavaClassField
-
- All Implemented Interfaces:
IJavaAnnotatedElement
,IJavaClassField
,Serializable
public class AsmFieldJavaClassField extends JavaSourceElement implements IJavaClassField
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AsmFieldJavaClassField(AsmField field, IModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAnnotationInfo
getAnnotation(Class annotationClass)
IAnnotationInfo[]
getDeclaredAnnotations()
IJavaClassInfo
getEnclosingClass()
IJavaClassType
getGenericType()
int
getModifiers()
String
getName()
Object
getStaticValue()
Tree
getTree()
IJavaClassInfo
getType()
boolean
isAnnotationPresent(Class<? extends Annotation> annotationClass)
boolean
isEnumConstant()
boolean
isSynthetic()
String
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
-
-
-
-
Method Detail
-
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic
in interfaceIJavaClassField
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceIJavaClassField
-
getName
public String getName()
- Specified by:
getName
in interfaceIJavaClassField
-
getType
public IJavaClassInfo getType()
- Specified by:
getType
in interfaceIJavaClassField
-
getGenericType
public IJavaClassType getGenericType()
- Specified by:
getGenericType
in interfaceIJavaClassField
-
getEnclosingClass
public IJavaClassInfo getEnclosingClass()
- Specified by:
getEnclosingClass
in interfaceIJavaAnnotatedElement
- Specified by:
getEnclosingClass
in classJavaSourceElement
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstant
in interfaceIJavaClassField
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresent
in interfaceIJavaAnnotatedElement
-
getAnnotation
public IAnnotationInfo getAnnotation(Class annotationClass)
- Specified by:
getAnnotation
in interfaceIJavaAnnotatedElement
-
getDeclaredAnnotations
public IAnnotationInfo[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceIJavaAnnotatedElement
-
getStaticValue
public Object getStaticValue()
-
getTree
public Tree getTree()
- Specified by:
getTree
in classJavaSourceElement
-
-