| Constructor and Description |
|---|
Metadata() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
classAnnotation(Class<?> clazz,
Class<T> annotationClass) |
static Map<Class<?>,Annotation> |
classAnnotations(Class<?> clazz) |
static <T extends Annotation> |
get(Annotation[] annotations,
Class<T> annotationClass) |
static <T extends Annotation> |
getAnnotationRecursive(Class<?> clazz,
Class<T> annotationClass) |
static boolean |
has(Annotation[] annotations,
Class<? extends Annotation> annotationClass) |
static boolean |
hasAny(Annotation[] annotations,
Iterable<Class<? extends Annotation>> annotationType) |
static boolean |
isAnnotated(Class<?> clazz,
Class<? extends Annotation> annotation) |
static boolean |
isAnnotatedAny(Class<?> clazz,
Collection<Class<? extends Annotation>> annotations) |
static <T extends Annotation> |
methodAnnotation(Method method,
Class<T> annotationClass) |
static Map<Class<?>,Annotation> |
methodAnnotations(Method method) |
static <T extends Annotation> |
propAnnotation(Class<?> clazz,
String property,
Class<T> annotationClass) |
static Map<Class<?>,Annotation> |
propAnnotations(Class<?> clazz,
String property) |
public static Map<Class<?>,Annotation> classAnnotations(Class<?> clazz)
public static <T extends Annotation> T classAnnotation(Class<?> clazz, Class<T> annotationClass)
public static Map<Class<?>,Annotation> methodAnnotations(Method method)
public static <T extends Annotation> T methodAnnotation(Method method, Class<T> annotationClass)
public static Map<Class<?>,Annotation> propAnnotations(Class<?> clazz, String property)
public static <T extends Annotation> T propAnnotation(Class<?> clazz, String property, Class<T> annotationClass)
public static boolean isAnnotated(Class<?> clazz, Class<? extends Annotation> annotation)
public static boolean isAnnotatedAny(Class<?> clazz, Collection<Class<? extends Annotation>> annotations)
public static <T extends Annotation> T get(Annotation[] annotations, Class<T> annotationClass)
public static boolean has(Annotation[] annotations, Class<? extends Annotation> annotationClass)
public static boolean hasAny(Annotation[] annotations, Iterable<Class<? extends Annotation>> annotationType)
public static <T extends Annotation> T getAnnotationRecursive(Class<?> clazz, Class<T> annotationClass)
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.