Uses of Class
org.springframework.core.annotation.MergedAnnotation.Adapt
Packages that use MergedAnnotation.Adapt Package Description org.springframework.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.Uses of MergedAnnotation.Adapt in org.springframework.core.annotation
Methods in org.springframework.core.annotation that return MergedAnnotation.Adapt Modifier and Type Method Description static MergedAnnotation.Adapt
MergedAnnotation.Adapt. valueOf(String name)
Returns the enum constant of this type with the specified name.static MergedAnnotation.Adapt[]
MergedAnnotation.Adapt. values()
Returns an array containing the constants of this enum type, 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.Methods in org.springframework.core.annotation with parameters of type MergedAnnotation.Adapt Modifier and Type Method Description AnnotationAttributes
MergedAnnotation. asAnnotationAttributes(MergedAnnotation.Adapt... adaptations)
Create a new mutableAnnotationAttributes
instance from this merged annotation.<T extends Map<String,Object>>
TMergedAnnotation. asMap(Function<MergedAnnotation<?>,T> factory, MergedAnnotation.Adapt... adaptations)
Create a newMap
instance of the given type that contains all the annotation attributes.Map<String,Object>
MergedAnnotation. asMap(MergedAnnotation.Adapt... adaptations)
Get an immutableMap
that contains all the annotation attributes.protected 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.