public class AbstractAnnotatedAccessor extends Object implements AnnotatedElement
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class,Annotation> |
annotations |
| Constructor and Description |
|---|
AbstractAnnotatedAccessor() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
protected final Map<Class,Annotation> annotations
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElement