Package org.springframework.core.annotation
Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.
Interface Summary Interface Description AnnotationFilter Callback interface that can be used to filter specific annotation types.MergedAnnotation<A extends Annotation> A single merged annotation returned from aMergedAnnotations
collection.MergedAnnotations MergedAnnotationSelector<A extends Annotation> Strategy interface used to select between twoMergedAnnotation
instances.SynthesizedAnnotation Marker interface implemented by synthesized annotation proxies.Class Summary Class Description AnnotatedElementUtils General utility methods for finding annotations, meta-annotations, and repeatable annotations onAnnotatedElements
.AnnotationAttributes LinkedHashMap
subclass representing annotation attribute key-value pairs as read byAnnotationUtils
,AnnotatedElementUtils
, and Spring's reflection- and ASM-basedAnnotationMetadata
implementations.AnnotationAwareOrderComparator AnnotationAwareOrderComparator
is an extension ofOrderComparator
that supports Spring'sOrdered
interface as well as the@Order
and@Priority
annotations, with an order value provided by anOrdered
instance overriding a statically defined annotation value (if any).AnnotationUtils General utility methods for working with annotations, handling meta-annotations, bridge methods (which the compiler generates for generic declarations) as well as super methods (for optional annotation inheritance).MergedAnnotationCollectors Collector
implementations that provide various reduction operations forMergedAnnotation
instances.MergedAnnotationPredicates Predicate implementations that provide various test operations forMergedAnnotations
.MergedAnnotationSelectors MergedAnnotationSelector
implementations that provide various options forMergedAnnotation
instances.OrderUtils General utility for determining the order of an object based on its type declaration.RepeatableContainers Strategy used to determine annotations that act as containers for other annotations.SynthesizingMethodParameter AMethodParameter
variant which synthesizes annotations that declare attribute aliases via@AliasFor
.Enum Summary Enum Description MergedAnnotation.Adapt Adaptations that can be applied to attribute values when creating Maps orAnnotationAttributes
.MergedAnnotations.SearchStrategy Search strategies supported byMergedAnnotations.from(AnnotatedElement, SearchStrategy)
.Exception Summary Exception Description AnnotationConfigurationException Thrown byAnnotationUtils
and synthesized annotations if an annotation is improperly configured.