Uses of Enum Class
org.springframework.core.annotation.MergedAnnotation.Adapt
Packages that use 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
Subclasses with type arguments of type MergedAnnotation.Adapt in org.springframework.core.annotationModifier and TypeClassDescriptionstatic enumAdaptations that can be applied to attribute values when creating Maps orAnnotationAttributes.Methods in org.springframework.core.annotation that return MergedAnnotation.AdaptModifier and TypeMethodDescriptionstatic MergedAnnotation.AdaptReturns 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.Adaptarray from a set of boolean flags.Methods in org.springframework.core.annotation with parameters of type MergedAnnotation.AdaptModifier and TypeMethodDescriptionMergedAnnotation.asAnnotationAttributes(MergedAnnotation.Adapt... adaptations) Create a new mutableAnnotationAttributesinstance from this merged annotation.MergedAnnotation.asMap(Function<MergedAnnotation<?>, T> factory, MergedAnnotation.Adapt... adaptations) Create a newMapinstance of the given type that contains all the annotation attributes.MergedAnnotation.asMap(MergedAnnotation.Adapt... adaptations) Get an immutableMapthat contains all the annotation attributes.protected final booleanMergedAnnotation.Adapt.isIn(MergedAnnotation.Adapt... adaptations) static <A extends Annotation>
Collector<MergedAnnotation<A>, ? extends @Nullable Object, @Nullable MultiValueMap<String, @Nullable Object>> MergedAnnotationCollectors.toMultiValueMap(Function<MultiValueMap<String, @Nullable Object>, @Nullable MultiValueMap<String, @Nullable Object>> finisher, MergedAnnotation.Adapt... adaptations) Create a newCollectorthat accumulates merged annotations to aMultiValueMapwith items added from each merged annotation as a map.static <A extends Annotation>
Collector<MergedAnnotation<A>, ? extends @Nullable Object, @Nullable MultiValueMap<String, @Nullable Object>> MergedAnnotationCollectors.toMultiValueMap(MergedAnnotation.Adapt... adaptations) Create a newCollectorthat accumulates merged annotations to aMultiValueMapwith items added from each merged annotation as a map.