class DefaultAnnotationAttributeExtractor extends AbstractAliasAwareAnnotationAttributeExtractor<java.lang.annotation.Annotation>
AnnotationAttributeExtractor
strategy
that is backed by an Annotation
.Annotation
,
AliasFor
,
AbstractAliasAwareAnnotationAttributeExtractor
,
MapAnnotationAttributeExtractor
,
AnnotationUtils.synthesizeAnnotation(Annotation, AnnotatedElement)
Constructor and Description |
---|
DefaultAnnotationAttributeExtractor(java.lang.annotation.Annotation annotation,
java.lang.reflect.AnnotatedElement annotatedElement)
Construct a new
DefaultAnnotationAttributeExtractor . |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getRawAttributeValue(java.lang.reflect.Method attributeMethod)
Get the raw, unmodified attribute value from the underlying
source that corresponds to the supplied
attribute method.
|
protected java.lang.Object |
getRawAttributeValue(java.lang.String attributeName)
Get the raw, unmodified attribute value from the underlying
source that corresponds to the supplied
attribute name.
|
getAnnotatedElement, getAnnotationType, getAttributeValue, getSource
DefaultAnnotationAttributeExtractor(java.lang.annotation.Annotation annotation, java.lang.reflect.AnnotatedElement annotatedElement)
DefaultAnnotationAttributeExtractor
.annotation
- the annotation to synthesize; never null
annotatedElement
- the element that is annotated with the supplied
annotation; may be null
if unknownprotected java.lang.Object getRawAttributeValue(java.lang.reflect.Method attributeMethod)
AbstractAliasAwareAnnotationAttributeExtractor
getRawAttributeValue
in class AbstractAliasAwareAnnotationAttributeExtractor<java.lang.annotation.Annotation>
protected java.lang.Object getRawAttributeValue(java.lang.String attributeName)
AbstractAliasAwareAnnotationAttributeExtractor
getRawAttributeValue
in class AbstractAliasAwareAnnotationAttributeExtractor<java.lang.annotation.Annotation>