public class AnnotationLocator extends Object
Constructor and Description |
---|
AnnotationLocator() |
Modifier and Type | Method and Description |
---|---|
static List<Annotation> |
locate(Class<?> targetClass) |
static <T extends Annotation> |
locate(Class<?> targetClass,
Class<T> annotationClass) |
static List<Annotation> |
locate(Method method,
Class<?> targetClass) |
static <T extends Annotation> |
locate(Method method,
Class<?> targetClass,
Class<T> annotationClass) |
public static List<Annotation> locate(Class<?> targetClass)
public static <T extends Annotation> T locate(Class<?> targetClass, Class<T> annotationClass)
public static List<Annotation> locate(Method method, Class<?> targetClass)
public static <T extends Annotation> T locate(Method method, Class<?> targetClass, Class<T> annotationClass)