Java org.springframework.core.annotation AnnotatedElementUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.annotation AnnotatedElementUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.annotation AnnotatedElementUtils.

The text is from its open source code.

Method

SetfindAllMergedAnnotations(AnnotatedElement element, Class annotationType)
Find all annotations of the specified annotationType within the annotation hierarchy above the supplied element ; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specified annotationType .
SetfindAllMergedAnnotations(AnnotatedElement element, Set> annotationTypes)
Find all annotations of the specified annotationTypes within the annotation hierarchy above the supplied element ; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the corresponding annotationType .
AfindMergedAnnotation(AnnotatedElement element, Class annotationType)
Find the first annotation of the specified annotationType within the annotation hierarchy above the supplied element , merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specified annotationType .
AnnotationAttributesfindMergedAnnotationAttributes(AnnotatedElement element, Class annotationType, boolean classValuesAsString, boolean nestedAnnotationsAsMap)
Find the first annotation of the specified annotationType within the annotation hierarchy above the supplied element and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.
AnnotationAttributesfindMergedAnnotationAttributes(AnnotatedElement element, String annotationName, boolean classValuesAsString, boolean nestedAnnotationsAsMap)
Find the first annotation of the specified annotationName within the annotation hierarchy above the supplied element and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.
AgetMergedAnnotation(AnnotatedElement element, Class annotationType)
Get the first annotation of the specified annotationType within the annotation hierarchy above the supplied element , merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy, and synthesize the result back into an annotation of the specified annotationType .
AnnotationAttributesgetMergedAnnotationAttributes(AnnotatedElement element, Class annotationType)
Get the first annotation of the specified annotationType within the annotation hierarchy above the supplied element and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.
AnnotationAttributesgetMergedAnnotationAttributes(AnnotatedElement element, String annotationName)
Get the first annotation of the specified annotationName within the annotation hierarchy above the supplied element and merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy.
SetgetMergedRepeatableAnnotations(AnnotatedElement element, Class annotationType, @Nullable Class containerType)
Get all repeatable annotations of the specified annotationType within the annotation hierarchy above the supplied element ; and for each annotation found, merge that annotation's attributes with matching attributes from annotations in lower levels of the annotation hierarchy and synthesize the results back into an annotation of the specified annotationType .
booleanhasAnnotation(AnnotatedElement element, Class annotationType)
Determine if an annotation of the specified annotationType is available on the supplied AnnotatedElement or within the annotation hierarchy above the specified element.
booleanisAnnotated(AnnotatedElement element, Class annotationType)
Determine if an annotation of the specified annotationType is present on the supplied AnnotatedElement or within the annotation hierarchy above the specified element.
booleanisAnnotated(AnnotatedElement element, String annotationName)
Determine if an annotation of the specified annotationName is present on the supplied AnnotatedElement or within the annotation hierarchy above the specified element.