类的使用
org.springframework.core.annotation.MergedAnnotations.SearchStrategy
使用MergedAnnotations.SearchStrategy的程序包 程序包 说明 org.springframework.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.org.springframework.core.annotation中MergedAnnotations.SearchStrategy的使用
返回MergedAnnotations.SearchStrategy的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 static MergedAnnotations.SearchStrategy
MergedAnnotations.SearchStrategy. valueOf(String name)
返回带有指定名称的该类型的枚举常量。static MergedAnnotations.SearchStrategy[]
MergedAnnotations.SearchStrategy. values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为MergedAnnotations.SearchStrategy的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 static MergedAnnotations
MergedAnnotations. from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy)
Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.static MergedAnnotations
MergedAnnotations. from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers)
Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.static MergedAnnotations
MergedAnnotations. from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter)
Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy
, related inherited elements.