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
Modifier and TypeMethodDescriptionvoidvoidTClass<?> intgetName()TClass<?> getType()getWithoutCheck(Object obj) booleanbooleanvoidvoidsetWithoutCheck(Object obj, Object value) toString()Methods inherited from class org.teavm.classlib.java.lang.reflect.TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getDeclaringClassin interfaceTMember
-
getName
-
getModifiers
public int getModifiers()- Specified by:
getModifiersin interfaceTMember
-
isEnumConstant
public boolean isEnumConstant() -
isSynthetic
public boolean isSynthetic()- Specified by:
isSyntheticin interfaceTMember
-
getType
-
toString
-
get
-
getWithoutCheck
-
set
-
setWithoutCheck
-
checkGetAccess
- Throws:
TIllegalAccessException
-
checkSetAccess
- Throws:
TIllegalAccessException
-