S - the type of source supported by this extractorinterface AnnotationAttributeExtractor<S>
AnnotationAttributeExtractor is responsible for
extracting annotation attribute values
from an underlying source such as an
Annotation or a Map.SynthesizedAnnotationInvocationHandler| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAnnotatedElement()
Get the element that is annotated with an annotation of the annotation
type supported by this extractor.
|
Class<? extends Annotation> |
getAnnotationType()
Get the type of annotation that this extractor extracts attribute
values for.
|
Object |
getAttributeValue(Method attributeMethod)
Get the attribute value from the underlying source
that corresponds to the supplied attribute method.
|
S |
getSource()
Get the underlying source of annotation attributes.
|
Class<? extends Annotation> getAnnotationType()
Object getAnnotatedElement()
null if unknownS getSource()
Object getAttributeValue(Method attributeMethod)
attributeMethod - an attribute method from the annotation type
supported by this extractorCopyright © 2020. All rights reserved.