@java.lang.Deprecated final class AnnotationAttributesReadingVisitor extends RecursiveAnnotationAttributesVisitor
ASM visitor which looks for annotations defined on a class or method, including meta-annotations.
This visitor is fully recursive, taking into account any nested annotations or nested annotation arrays.
Note: This class was ported to Grails 7 from Spring Framework 5.3 as it was removed in Spring 6 without a public replacement.
Modifiers | Name | Description |
---|---|---|
private org.springframework.util.MultiValueMap<java.lang.String, org.springframework.core.annotation.AnnotationAttributes> |
attributesMap |
|
private java.util.Map<java.lang.String, java.util.Set<java.lang.String>> |
metaAnnotationMap |
Fields inherited from class | Fields |
---|---|
class RecursiveAnnotationAttributesVisitor |
annotationType |
class AbstractRecursiveAnnotationVisitor |
attributes, classLoader, logger |
Constructor and description |
---|
AnnotationAttributesReadingVisitor(java.lang.String annotationType, org.springframework.util.MultiValueMap<java.lang.String, org.springframework.core.annotation.AnnotationAttributes> attributesMap, java.util.Map<java.lang.String, java.util.Set<java.lang.String>> metaAnnotationMap, java.lang.ClassLoader classLoader) |
Type Params | Return Type | Name and description |
---|---|---|
|
private void |
recursivelyCollectMetaAnnotations(java.util.Set<java.lang.annotation.Annotation> visited, java.lang.annotation.Annotation annotation) |
|
public void |
visitEnd() |
Methods inherited from class | Name |
---|---|
class RecursiveAnnotationAttributesVisitor |
visitEnd |
class AbstractRecursiveAnnotationVisitor |
getEnumValue, visit, visitAnnotation, visitArray, visitEnum |