| 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 |
isAnnotated(Class<?> clazz,
Class<?> annotation) |
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 <T extends Annotation> T get(Annotation[] annotations, Class<T> annotationClass)
public static boolean has(Annotation[] annotations, Class<? extends Annotation> annotationClass)
public static <T extends Annotation> T getAnnotationRecursive(Class<?> clazz, Class<T> annotationClass)
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.