Uses of Class
org.springframework.core.annotation.RepeatableContainers
Packages that use RepeatableContainers
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of RepeatableContainers in org.springframework.core.annotation
Methods in org.springframework.core.annotation that return RepeatableContainersModifier and TypeMethodDescriptionRepeatableContainers.and(Class<? extends Annotation> container, Class<? extends Annotation> repeatable) Deprecated.static RepeatableContainersRepeatableContainers.explicitRepeatable(Class<? extends Annotation> repeatable, @Nullable Class<? extends Annotation> container) Create aRepeatableContainersinstance that searches for repeated annotations by taking into account the supplied repeatable and container annotation types.static RepeatableContainersRepeatableContainers.none()Create aRepeatableContainersinstance that does not support any repeatable annotations.static RepeatableContainersRepeatableContainers.of(Class<? extends Annotation> repeatable, @Nullable Class<? extends Annotation> container) Deprecated.as of Spring Framework 7.0, in favor ofexplicitRepeatable(Class, Class)final RepeatableContainersRepeatableContainers.plus(Class<? extends Annotation> repeatable, Class<? extends Annotation> container) Register a pair of repeatable and container annotation types.static RepeatableContainersRepeatableContainers.standardRepeatables()Create aRepeatableContainersinstance that searches for repeated annotations according to the semantics of Java's@Repeatableannotation.Methods in org.springframework.core.annotation with parameters of type RepeatableContainersModifier and TypeMethodDescriptionstatic MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.MergedAnnotations.Search.withRepeatableContainers(RepeatableContainers repeatableContainers) Configure theRepeatableContainersto use.
plus(Class, Class)