public class AnnotationUtils extends Object
Constructor and Description |
---|
AnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> annotationClass) |
static <T extends Annotation> |
getAnnotation(Method method,
Class<T> annotationClass) |
public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> annotationClass)
public static <T extends Annotation> T getAnnotation(Method method, Class<T> annotationClass)
Copyright © 2017 The Apache Software Foundation. All rights reserved.