Class TField
java.lang.Object
org.teavm.classlib.java.lang.reflect.TAccessibleObject
org.teavm.classlib.java.lang.reflect.TField
- All Implemented Interfaces:
TAnnotatedElement
,TMember
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTField(TClass<?> declaringClass, String name, int modifiers, int accessLevel, TClass<?> type, JSFieldGetter getter, JSFieldSetter setter)
-
Method Summary
Methods inherited from class org.teavm.classlib.java.lang.reflect.TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.teavm.classlib.java.lang.reflect.TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TField
public TField(TClass<?> declaringClass, String name, int modifiers, int accessLevel, TClass<?> type, JSFieldGetter getter, JSFieldSetter setter)
-
-
Method Details
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiers
in interfaceTMember
-
isEnumConstant
public boolean isEnumConstant() -
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceTMember
-
getType
-
toString
-
get
-
set
public void set(Object obj, Object value) throws TIllegalArgumentException, TIllegalAccessException
-