Package gw.internal.gosu.parser
Class FieldJavaClassField
- java.lang.Object
-
- gw.internal.gosu.parser.FieldJavaClassField
-
- All Implemented Interfaces:
IJavaAnnotatedElement,IJavaClassField,Serializable
public class FieldJavaClassField extends Object implements IJavaClassField
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldJavaClassField(Field field, IModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(Object o)IAnnotationInfogetAnnotation(Class annotationClass)IAnnotationInfo[]getDeclaredAnnotations()IJavaClassInfogetEnclosingClass()IJavaClassTypegetGenericType()intgetModifiers()StringgetName()IJavaClassInfogetType()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass)booleanisEnumConstant()booleanisSynthetic()voidset(Object o, Object value)voidsetAccessible(boolean accessible)StringtoString()-
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:
isSyntheticin interfaceIJavaClassField
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceIJavaClassField
-
getName
public String getName()
- Specified by:
getNamein interfaceIJavaClassField
-
getType
public IJavaClassInfo getType()
- Specified by:
getTypein interfaceIJavaClassField
-
getGenericType
public IJavaClassType getGenericType()
- Specified by:
getGenericTypein interfaceIJavaClassField
-
getEnclosingClass
public IJavaClassInfo getEnclosingClass()
- Specified by:
getEnclosingClassin interfaceIJavaAnnotatedElement
-
isEnumConstant
public boolean isEnumConstant()
- Specified by:
isEnumConstantin interfaceIJavaClassField
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfaceIJavaAnnotatedElement
-
getAnnotation
public IAnnotationInfo getAnnotation(Class annotationClass)
- Specified by:
getAnnotationin interfaceIJavaAnnotatedElement
-
getDeclaredAnnotations
public IAnnotationInfo[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIJavaAnnotatedElement
-
setAccessible
public void setAccessible(boolean accessible)
-
get
public Object get(Object o) throws IllegalAccessException
- Throws:
IllegalAccessException
-
set
public void set(Object o, Object value) throws IllegalAccessException
- Throws:
IllegalAccessException
-
-