public class TAccessibleObject extends Object implements TAnnotatedElement
Modifier | Constructor and Description |
---|---|
protected |
TAccessibleObject() |
Modifier and Type | Method and Description |
---|---|
<T extends TAnnotation> |
getAnnotation(TClass<T> annotationClass) |
TAnnotation[] |
getAnnotations() |
TAnnotation[] |
getDeclaredAnnotations() |
boolean |
isAccessible() |
void |
setAccessible(boolean flag) |
static void |
setAccessible(TAccessibleObject[] array,
boolean flag) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public static void setAccessible(TAccessibleObject[] array, boolean flag) throws TSecurityException
TSecurityException
public void setAccessible(boolean flag) throws TSecurityException
TSecurityException
public boolean isAccessible()
public <T extends TAnnotation> T getAnnotation(TClass<T> annotationClass)
getAnnotation
in interface TAnnotatedElement
public TAnnotation[] getAnnotations()
getAnnotations
in interface TAnnotatedElement
public TAnnotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface TAnnotatedElement
Copyright © 2019. All rights reserved.