interface AnnotationAttributeExtractor
AnnotationAttributeExtractor
is responsible for
extracting annotation attribute values
from an underlying source such as an
Annotation
or a Map
.SynthesizedAnnotationInvocationHandler
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AnnotatedElement |
getAnnotatedElement()
Get the element that is annotated with an annotation of the annotation
type supported by this extractor.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType()
Get the type of annotation that this extractor extracts attribute
values for.
|
java.lang.Object |
getAttributeValue(java.lang.reflect.Method attributeMethod)
Get the attribute value from the underlying source
that corresponds to the supplied attribute method.
|
java.lang.Object |
getSource()
Get the underlying source of annotation attributes.
|
java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
java.lang.reflect.AnnotatedElement getAnnotatedElement()
null
if unknownjava.lang.Object getSource()
java.lang.Object getAttributeValue(java.lang.reflect.Method attributeMethod)
attributeMethod
- an attribute method from the annotation type
supported by this extractor