public class DefaultAnnotationFinder<E extends AnnotatedElement> extends Object implements AnnotationFinder<E>
| Constructor and Description |
|---|
DefaultAnnotationFinder() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(E element,
Class<T> annotationType) |
Annotation[] |
getAnnotations(E element) |
Annotation[] |
getDeclaredAnnotations(E element) |
boolean |
isAnnotationPresent(E element,
Class<? extends Annotation> annotationType) |
public <T extends Annotation> T getAnnotation(E element, Class<T> annotationType)
getAnnotation in interface AnnotationFinder<E extends AnnotatedElement>public Annotation[] getAnnotations(E element)
getAnnotations in interface AnnotationFinder<E extends AnnotatedElement>public Annotation[] getDeclaredAnnotations(E element)
getDeclaredAnnotations in interface AnnotationFinder<E extends AnnotatedElement>public boolean isAnnotationPresent(E element, Class<? extends Annotation> annotationType)
isAnnotationPresent in interface AnnotationFinder<E extends AnnotatedElement>Copyright © 2017 JBoss by Red Hat. All rights reserved.