接口的使用
cn.taketoday.core.annotation.MergedAnnotations
使用MergedAnnotations的程序包
程序包
说明
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Core support package for type introspection.
-
cn.taketoday.core.annotation中MergedAnnotations的使用
修饰符和类型方法说明static MergedAnnotationsMergedAnnotations.from(Annotation... annotations) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(Object source, Annotation... annotations) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(Object source, Annotation[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance from the specified annotations.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.MergedAnnotations.Search.from(AnnotatedElement element) Perform a search for merged annotations beginning with the suppliedAnnotatedElement(such as aClassorMethod), using the configuration in thisSearchinstance.static MergedAnnotationsMergedAnnotations.valueOf(Collection<MergedAnnotation<?>> annotations) Create a newMergedAnnotationsinstance from the specified collection of directly present annotations. -
cn.taketoday.core.type中MergedAnnotations的使用
修饰符和类型方法说明AnnotatedTypeMetadata.getAnnotations()Return annotation details based on the direct annotations of the underlying element.StandardAnnotationMetadata.getAnnotations()StandardMethodMetadata.getAnnotations()