public class AnnotationUtils extends Object
Constructor and Description |
---|
AnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
static <A extends Annotation> |
getAllAnnotationsOfType(Class clazz,
Class<A> annotationType) |
static <A extends Annotation> |
getAnnotationOn(Class annotatedElement,
Class<A> annotationType) |
static boolean |
hasAnnotationOn(AnnotatedElement annotatedElement,
Class<? extends Annotation> annotationType) |
public static boolean hasAnnotationOn(AnnotatedElement annotatedElement, Class<? extends Annotation> annotationType)
public static <A extends Annotation> A getAnnotationOn(Class annotatedElement, Class<A> annotationType)
public static <A extends Annotation> Set<A> getAllAnnotationsOfType(Class clazz, Class<A> annotationType)
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.