Class TAccessibleObject
java.lang.Object
org.teavm.classlib.java.lang.reflect.TAccessibleObject
- All Implemented Interfaces:
TAnnotatedElement
- Direct Known Subclasses:
TConstructor,TField,TMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends TAnnotation>
TgetAnnotation(TClass<T> annotationClass) booleanvoidsetAccessible(boolean flag) static voidsetAccessible(TAccessibleObject[] array, boolean flag) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.classlib.java.lang.reflect.TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TAccessibleObject
protected TAccessibleObject()
-
-
Method Details
-
setAccessible
- Throws:
TSecurityException
-
setAccessible
- Throws:
TSecurityException
-
isAccessible
public boolean isAccessible() -
getAnnotation
- Specified by:
getAnnotationin interfaceTAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotationsin interfaceTAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceTAnnotatedElement
-