# Uses of Enum 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 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 an `MergedAnnotation.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 mutable `AnnotationAttributes` instance from this merged annotation.
`<T extends Map<String, Object>>
T`
MergedAnnotation.`asMap(Function<MergedAnnotation<?>,T> factory, MergedAnnotation.Adapt... adaptations)`
Create a new `Map` instance of the given type that contains all the annotation attributes.
`Map<String,Object>`
MergedAnnotation.`asMap(MergedAnnotation.Adapt... adaptations)`
Get an immutable `Map` 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 new `Collector` that accumulates merged annotations to a `MultiValueMap` 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 new `Collector` that accumulates merged annotations to a `MultiValueMap` with items added from each merged annotation as a map.