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, FieldReader getter, FieldWriter setter) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidTClass<?> intgetName()TClass<?> getType()getWithoutCheck(Object obj) booleanbooleanvoidvoidsetWithoutCheck(Object obj, Object value) toString()Methods inherited from class TAccessibleObject
getAnnotation, getAnnotations, getDeclaredAnnotations, isAccessible, setAccessible, setAccessibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TField
public TField(TClass<?> declaringClass, String name, int modifiers, int accessLevel, TClass<?> type, FieldReader getter, FieldWriter 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
-