Package org.springframework.core.annotation
@NonNullApi
@NonNullFields
package org.springframework.core.annotation
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
ClassDescription
@AliasForis an annotation that is used to declare aliases for annotation attributes.General utility methods for finding annotations, meta-annotations, and repeatable annotations onAnnotatedElements.LinkedHashMapsubclass representing annotation attribute key-value pairs as read byAnnotationUtils,AnnotatedElementUtils, and Spring's reflection- and ASM-basedAnnotationMetadataimplementations.AnnotationAwareOrderComparatoris an extension ofOrderComparatorthat supports Spring'sOrderedinterface as well as the@Orderand@Priorityannotations, with an order value provided by anOrderedinstance overriding a statically defined annotation value (if any).Thrown byAnnotationUtilsand synthesized annotations if an annotation is improperly configured.Callback interface that can be used to filter specific annotation types.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).MergedAnnotation<A extends Annotation>A single merged annotation returned from aMergedAnnotationscollection.Adaptations that can be applied to attribute values when creating Maps orAnnotationAttributes.Collectorimplementations that provide various reduction operations forMergedAnnotationinstances.Predicate implementations that provide various test operations forMergedAnnotations.Fluent API for configuring the search algorithm used in theMergedAnnotationsmodel and performing a search.Search strategies supported byMergedAnnotations.search(SearchStrategy)as well asMergedAnnotations.from(AnnotatedElement, SearchStrategy)and variants of that method.MergedAnnotationSelector<A extends Annotation>Strategy interface used to select between twoMergedAnnotationinstances.MergedAnnotationSelectorimplementations that provide various options forMergedAnnotationinstances.@Orderdefines the sort order for an annotated component.General utility for determining the order of an object based on its type declaration.Strategy used to determine annotations that act as containers for other annotations.AMethodParametervariant which synthesizes annotations that declare attribute aliases via@AliasFor.