public class MergedAnnotationFinder extends Object implements AnnotationFinder
AnnotatedElementUtils,
MergedAnnotationVALUE| 构造器和说明 |
|---|
MergedAnnotationFinder() |
| 限定符和类型 | 方法和说明 |
|---|---|
<A extends Annotation> |
findAllAnnotations(@NonNull AnnotatedElement element,
Class<A> annotationType)
Get all specified annotations from the element.
|
<A extends Annotation> |
findAnnotation(@NonNull AnnotatedElement element,
Class<A> annotationType)
Get the specified annotation from the element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAnnotationpublic <A extends Annotation> A findAnnotation(@NonNull @NonNull AnnotatedElement element, Class<A> annotationType)
findAnnotation 在接口中 AnnotationFinderA - annotation typeelement - elementannotationType - annotation typepublic <A extends Annotation> Set<A> findAllAnnotations(@NonNull @NonNull AnnotatedElement element, Class<A> annotationType)
findAllAnnotations 在接口中 AnnotationFinderA - annotation typeelement - elementannotationType - annotation typeCopyright © 2023. All rights reserved.