public final class AnnotationUtils extends Object
Annotation| Constructor and Description |
|---|
AnnotationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
findAnnotation(Class<T> target,
Annotation... annotations) |
static <T extends Annotation> |
findAnnotation(Class<T> target,
Class<?> annotationContainsClass) |
static <T extends Annotation> |
findAnnotations(Class<T> target,
Method method) |
static <T> T |
getValue(Annotation annotation) |
static <T> T |
getValue(Annotation annotation,
String attributeName) |
static boolean |
isDeclared(Class<? extends Annotation> expectDeclared,
Class<?> clazz) |
public static <T extends Annotation> T findAnnotation(Class<T> target, Class<?> annotationContainsClass)
public static <T extends Annotation> T findAnnotation(Class<T> target, Annotation... annotations)
public static <T extends Annotation> List<T> findAnnotations(Class<T> target, Method method)
public static <T> T getValue(Annotation annotation)
public static <T> T getValue(Annotation annotation, String attributeName)
public static boolean isDeclared(Class<? extends Annotation> expectDeclared, Class<?> clazz)
Copyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.