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 java.lang.String |
annotationType |
private java.util.Map<java.lang.String,AnnotationAttributes> |
attributesMap |
private java.util.Map<java.lang.String,java.util.Set<java.lang.String>> |
metaAnnotationMap |
attributes, classLoader, logger
Constructor and Description |
---|
AnnotationAttributesReadingVisitor(java.lang.String annotationType,
java.util.Map<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 |
---|---|
void |
doVisitEnd(java.lang.Class<?> annotationClass) |
private void |
registerMetaAnnotations(java.lang.Class<?> annotationClass) |
visitEnd
visit, visitAnnotation, visitArray, visitEnum
private final java.lang.String annotationType
private final java.util.Map<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, java.util.Map<java.lang.String,AnnotationAttributes> attributesMap, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> metaAnnotationMap, java.lang.ClassLoader classLoader)
public void doVisitEnd(java.lang.Class<?> annotationClass)
doVisitEnd
in class RecursiveAnnotationAttributesVisitor
private void registerMetaAnnotations(java.lang.Class<?> annotationClass)