public class AnnotationUtils extends Object
Constructor and Description |
---|
AnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
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)
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.