Class TAccessibleObject
- java.lang.Object
-
- de.mirkosertic.bytecoder.classlib.java.lang.reflect.TAccessibleObject
-
- All Implemented Interfaces:
java.lang.reflect.AnnotatedElement
public class TAccessibleObject extends java.lang.Object implements java.lang.reflect.AnnotatedElement
-
-
Constructor Summary
Constructors Constructor Description TAccessibleObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.Class<T> annotationClass)java.lang.annotation.Annotation[]getAnnotations()<T extends java.lang.annotation.Annotation>
T[]getAnnotationsByType(java.lang.Class<T> annotationClass)<T extends java.lang.annotation.Annotation>
TgetDeclaredAnnotation(java.lang.Class<T> annotationClass)java.lang.annotation.Annotation[]getDeclaredAnnotations()<T extends java.lang.annotation.Annotation>
T[]getDeclaredAnnotationsByType(java.lang.Class<T> annotationClass)booleanisAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
-
-
-
Method Detail
-
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
- Specified by:
getAnnotationin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfacejava.lang.reflect.AnnotatedElement
-
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfacejava.lang.reflect.AnnotatedElement
-
getAnnotationsByType
public <T extends java.lang.annotation.Annotation> T[] getAnnotationsByType(java.lang.Class<T> annotationClass)
- Specified by:
getAnnotationsByTypein interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotation
public <T extends java.lang.annotation.Annotation> T getDeclaredAnnotation(java.lang.Class<T> annotationClass)
- Specified by:
getDeclaredAnnotationin interfacejava.lang.reflect.AnnotatedElement
-
getDeclaredAnnotationsByType
public <T extends java.lang.annotation.Annotation> T[] getDeclaredAnnotationsByType(java.lang.Class<T> annotationClass)
- Specified by:
getDeclaredAnnotationsByTypein interfacejava.lang.reflect.AnnotatedElement
-
-