public final class GuardedAnnotationAccess extends Object
| Constructor and Description |
|---|
GuardedAnnotationAccess() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
getAnnotation(AnnotatedElement element,
Class<T> annotationType) |
static <T extends Annotation> |
getAnnotation(AnnotationExtracter extracter,
AnnotatedElement element,
Class<T> annotationType) |
static Annotation[] |
getAnnotations(AnnotatedElement element) |
static <T extends Annotation> |
getDeclaredAnnotation(AnnotatedElement element,
Class<T> annotationType) |
static <T extends Annotation> |
getDeclaredAnnotation(AnnotationExtracter extracter,
AnnotatedElement element,
Class<T> annotationType) |
static Annotation[] |
getDeclaredAnnotations(AnnotatedElement element) |
static boolean |
isAnnotationPresent(AnnotatedElement element,
Class<? extends Annotation> annotationClass) |
static boolean |
isAnnotationPresent(AnnotationExtracter extracter,
AnnotatedElement element,
Class<? extends Annotation> annotationClass) |
public static boolean isAnnotationPresent(AnnotatedElement element, Class<? extends Annotation> annotationClass)
public static boolean isAnnotationPresent(AnnotationExtracter extracter, AnnotatedElement element, Class<? extends Annotation> annotationClass)
public static <T extends Annotation> T getAnnotation(AnnotatedElement element, Class<T> annotationType)
public static <T extends Annotation> T getAnnotation(AnnotationExtracter extracter, AnnotatedElement element, Class<T> annotationType)
public static Annotation[] getAnnotations(AnnotatedElement element)
public static <T extends Annotation> T getDeclaredAnnotation(AnnotatedElement element, Class<T> annotationType)
public static <T extends Annotation> T getDeclaredAnnotation(AnnotationExtracter extracter, AnnotatedElement element, Class<T> annotationType)
public static Annotation[] getDeclaredAnnotations(AnnotatedElement element)