Uses of Enum Class
org.springframework.core.annotation.MergedAnnotation.Adapt
Package
Description
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
Uses of MergedAnnotation.Adapt in org.springframework.core.annotation
Modifier and TypeMethodDescriptionstatic MergedAnnotation.Adapt
Returns the enum constant of this class with the specified name.static MergedAnnotation.Adapt[]
MergedAnnotation.Adapt.values()
Returns an array containing the constants of this enum class, in the order they are declared.static MergedAnnotation.Adapt[]
MergedAnnotation.Adapt.values
(boolean classToString, boolean annotationsToMap) Factory method to create anMergedAnnotation.Adapt
array from a set of boolean flags.Modifier and TypeMethodDescriptionMergedAnnotation.asAnnotationAttributes
(MergedAnnotation.Adapt... adaptations) Create a new mutableAnnotationAttributes
instance from this merged annotation.MergedAnnotation.asMap
(Function<MergedAnnotation<?>, T> factory, MergedAnnotation.Adapt... adaptations) Create a newMap
instance of the given type that contains all the annotation attributes.MergedAnnotation.asMap
(MergedAnnotation.Adapt... adaptations) Get an immutableMap
that contains all the annotation attributes.protected final boolean
MergedAnnotation.Adapt.isIn
(MergedAnnotation.Adapt... adaptations) static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(Function<MultiValueMap<String, Object>, MultiValueMap<String, Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>,?, MultiValueMap<String, Object>> MergedAnnotationCollectors.toMultiValueMap
(MergedAnnotation.Adapt... adaptations) Create a newCollector
that accumulates merged annotations to aMultiValueMap
with items added from each merged annotation as a map.