Uses of Class
org.springframework.core.annotation.RepeatableContainers
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of RepeatableContainers in org.springframework.core.annotation
Modifier and TypeMethodDescriptionRepeatableContainers.and
(Class<? extends Annotation> container, Class<? extends Annotation> repeatable) Add an additional explicit relationship between a container and repeatable annotation.static RepeatableContainers
RepeatableContainers.none()
Create aRepeatableContainers
instance that does not support any repeatable annotations.static RepeatableContainers
RepeatableContainers.of
(Class<? extends Annotation> repeatable, Class<? extends Annotation> container) Create aRepeatableContainers
instance that uses predefined repeatable and container types.static RepeatableContainers
RepeatableContainers.standardRepeatables()
Create aRepeatableContainers
instance that searches using Java's@Repeatable
annotation.Modifier and TypeMethodDescriptionstatic MergedAnnotations
MergedAnnotations.from
(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers) Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations.from
(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations.from
(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers) Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.static MergedAnnotations
MergedAnnotations.from
(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.MergedAnnotations.Search.withRepeatableContainers
(RepeatableContainers repeatableContainers) Configure theRepeatableContainers
to use.