public class AnnotationUtil extends Object
| Constructor and Description |
|---|
AnnotationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> annotationType) |
static <T extends Annotation> |
getAnnotation(Method method,
Class<T> annotationType) |
static Collection<Annotation> |
getAnnotationsRecursive(Class<?> clazz) |
public static Collection<Annotation> getAnnotationsRecursive(Class<?> clazz)
public static <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> annotationType)
public static <T extends Annotation> T getAnnotation(Method method, Class<T> annotationType)
Copyright © 2021. All rights reserved.