List of usage examples for org.springframework.core.annotation AnnotationAttributes AnnotationAttributes
public AnnotationAttributes()
From source file:org.springframework.core.type.classreading.AbstractRecursiveAnnotationVisitor.java
public AnnotationVisitor visitAnnotation(String attributeName, String asmTypeDescriptor) { String annotationType = Type.getType(asmTypeDescriptor).getClassName(); AnnotationAttributes nestedAttributes = new AnnotationAttributes(); this.attributes.put(attributeName, nestedAttributes); return new RecursiveAnnotationAttributesVisitor(annotationType, nestedAttributes, this.classLoader); }
From source file:org.springframework.core.type.classreading.AbstractRecursiveAnnotationVisitor.java
@Override public AnnotationVisitor visitAnnotation(String attributeName, String asmTypeDescriptor) { String annotationType = Type.getType(asmTypeDescriptor).getClassName(); AnnotationAttributes nestedAttributes = new AnnotationAttributes(); this.allNestedAttributes.add(nestedAttributes); return new RecursiveAnnotationAttributesVisitor(annotationType, nestedAttributes, this.classLoader); }
From source file:org.springframework.core.type.classreading.AbstractRecursiveAnnotationVisitor.java
public AnnotationAttributesReadingVisitor(String annotationType, Map<String, AnnotationAttributes> attributesMap, Map<String, Set<String>> metaAnnotationMap, ClassLoader classLoader) { super(annotationType, new AnnotationAttributes(), classLoader); this.annotationType = annotationType; this.attributesMap = attributesMap; this.metaAnnotationMap = metaAnnotationMap; }