public class TField extends TAccessibleObject implements TMember
Constructor and Description |
---|
TField(TClass<?> declaringClass,
String name,
int modifiers,
int accessLevel,
TClass<?> type,
JSFieldGetter getter,
JSFieldSetter setter) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object obj) |
TClass<?> |
getDeclaringClass() |
int |
getModifiers() |
String |
getName() |
TClass<?> |
getType() |
boolean |
isEnumConstant() |
boolean |
isSynthetic() |
void |
set(Object obj,
Object value) |
String |
toString() |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public TField(TClass<?> declaringClass, String name, int modifiers, int accessLevel, TClass<?> type, JSFieldGetter getter, JSFieldSetter setter)
public TClass<?> getDeclaringClass()
getDeclaringClass
in interface TMember
public int getModifiers()
getModifiers
in interface TMember
public boolean isEnumConstant()
public boolean isSynthetic()
isSynthetic
in interface TMember
public TClass<?> getType()
public Object get(Object obj) throws TIllegalArgumentException, TIllegalAccessException
public void set(Object obj, Object value) throws TIllegalArgumentException, TIllegalAccessException
Copyright © 2019. All rights reserved.