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)
boolean
void
setAccessible(boolean flag)
static void
setAccessible(TAccessibleObject[] array, boolean flag)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.teavm.classlib.java.lang.reflect.TAnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Constructor Details
-
TAccessibleObject
protected TAccessibleObject()
-
-
Method Details
-
setAccessible
public static void setAccessible(TAccessibleObject[] array, boolean flag) throws TSecurityException- Throws:
TSecurityException
-
setAccessible
- Throws:
TSecurityException
-
isAccessible
public boolean isAccessible() -
getAnnotation
- Specified by:
getAnnotation
in interfaceTAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotations
in interfaceTAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceTAnnotatedElement
-