@java.lang.Deprecated abstract class AnnotationReadingVisitorUtils extends java.lang.Object
Internal utility class used when reading annotations via ASM.
Note: This class was ported to Grails 7 from Spring Framework 5.3 as it was removed in Spring 6 without a public replacement.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static org.springframework.core.annotation.AnnotationAttributes |
convertClassValues(java.lang.Object annotatedElement, java.lang.ClassLoader classLoader, org.springframework.core.annotation.AnnotationAttributes original, boolean classValuesAsString) |
|
public static org.springframework.core.annotation.AnnotationAttributes |
getMergedAnnotationAttributes(org.springframework.util.LinkedMultiValueMap<java.lang.String, org.springframework.core.annotation.AnnotationAttributes> attributesMap, java.util.Map<java.lang.String, java.util.Set<java.lang.String>> metaAnnotationMap, java.lang.String annotationName)Retrieve the merged attributes of the annotation of the given type, if any, from the supplied attributesMap. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Retrieve the merged attributes of the annotation of the given type,
if any, from the supplied attributesMap.
Annotation attribute values appearing lower in the annotation hierarchy (i.e., closer to the declaring class) will override those defined higher in the annotation hierarchy.
attributesMap - the map of annotation attribute lists, keyed by
annotation type namemetaAnnotationMap - the map of meta annotation relationships,
keyed by annotation type nameannotationName - the fully qualified class name of the annotation
type to look fornull if no
matching annotation is present in the attributesMap