接口的使用
org.springframework.core.annotation.MergedAnnotations
使用MergedAnnotations的程序包 程序包 说明 org.springframework.core.annotation Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.org.springframework.core.type Core support package for type introspection.org.springframework.core.type.classreading Support classes for reading annotation and class-level metadata.org.springframework.core.annotation中MergedAnnotations的使用
返回MergedAnnotations的org.springframework.core.annotation中的方法 修饰符和类型 方法 说明 static MergedAnnotations
MergedAnnotations. from(Annotation... annotations)
Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations. from(Object source, Annotation... annotations)
Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations. from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers)
Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations. from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter)
Create a newMergedAnnotations
instance from the specified annotations.static MergedAnnotations
MergedAnnotations. from(AnnotatedElement element)
Create a newMergedAnnotations
instance containing all annotations and meta-annotations from the specified element.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.static MergedAnnotations
MergedAnnotations. of(Collection<MergedAnnotation<?>> annotations)
Create a newMergedAnnotations
instance from the specified collection of directly present annotations.org.springframework.core.type中MergedAnnotations的使用
返回MergedAnnotations的org.springframework.core.type中的方法 修饰符和类型 方法 说明 MergedAnnotations
AnnotatedTypeMetadata. getAnnotations()
Return annotation details based on the direct annotations of the underlying element.MergedAnnotations
StandardAnnotationMetadata. getAnnotations()
MergedAnnotations
StandardMethodMetadata. getAnnotations()
org.springframework.core.type.classreading中MergedAnnotations的使用
返回MergedAnnotations的org.springframework.core.type.classreading中的方法 修饰符和类型 方法 说明 MergedAnnotations
AnnotationMetadataReadingVisitor. getAnnotations()
已过时。MergedAnnotations
MethodMetadataReadingVisitor. getAnnotations()
已过时。