final class AnnotationAttributesReadingVisitor extends RecursiveAnnotationAttributesVisitor
As of Spring 3.1.1, this visitor is fully recursive, taking into account any nested
annotations or nested annotation arrays. These annotations are in turn read into
AnnotationAttributes
map structures.
Modifier and Type | Field and Description |
---|---|
private MultiValueMap<java.lang.String,AnnotationAttributes> |
attributesMap |
private java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
metaAnnotationMap |
annotationType
attributes, classLoader, logger
api, av
Constructor and Description |
---|
AnnotationAttributesReadingVisitor(java.lang.String annotationType,
MultiValueMap<java.lang.String,AnnotationAttributes> attributesMap,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> metaAnnotationMap,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
private void |
recursivelyCollectMetaAnnotations(java.util.Set<java.lang.annotation.Annotation> visited,
java.lang.annotation.Annotation annotation) |
void |
visitEnd()
Visits the end of the annotation.
|
getEnumValue, visit, visitAnnotation, visitArray, visitEnum
private final MultiValueMap<java.lang.String,AnnotationAttributes> attributesMap
private final java.util.Map<java.lang.String,java.util.Set<java.lang.String>> metaAnnotationMap
public AnnotationAttributesReadingVisitor(java.lang.String annotationType, MultiValueMap<java.lang.String,AnnotationAttributes> attributesMap, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> metaAnnotationMap, java.lang.ClassLoader classLoader)
public void visitEnd()
AnnotationVisitor
visitEnd
in class RecursiveAnnotationAttributesVisitor
private void recursivelyCollectMetaAnnotations(java.util.Set<java.lang.annotation.Annotation> visited, java.lang.annotation.Annotation annotation)