类的使用
org.springframework.core.annotation.MergedAnnotation.Adapt
使用MergedAnnotation.Adapt的程序包 程序包 说明 org.springframework.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.org.springframework.core.annotation中MergedAnnotation.Adapt的使用
返回MergedAnnotation.Adapt的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 static MergedAnnotation.Adapt
MergedAnnotation.Adapt. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static MergedAnnotation.Adapt[]
MergedAnnotation.Adapt. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。static MergedAnnotation.Adapt[]
MergedAnnotation.Adapt. values(boolean classToString, boolean annotationsToMap)
Factory method to create anMergedAnnotation.Adapt
array from a set of boolean flags.参数类型为MergedAnnotation.Adapt的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 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.