public class MergedAnnotationFinder extends Object implements AnnotationFinder
AnnotatedElementUtils,
MergedAnnotation| 构造器和说明 |
|---|
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.
|
<A extends Annotation> |
getAllAnnotations(@NonNull AnnotatedElement element,
Class<A> annotationType)
Get all specified annotations from the element.
|
<A extends Annotation> |
getAnnotation(@NonNull AnnotatedElement element,
Class<A> annotationType)
Get the specified annotation from the element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAnnotation, isAnnotatedpublic <A extends Annotation> A getAnnotation(@NonNull AnnotatedElement element, Class<A> annotationType)
getAnnotation 在接口中 AnnotationFinderA - annotation typeelement - elementannotationType - annotation typepublic <A extends Annotation> Set<A> getAllAnnotations(@NonNull AnnotatedElement element, Class<A> annotationType)
getAllAnnotations 在接口中 AnnotationFinderA - annotation typeelement - elementannotationType - annotation typepublic <A extends Annotation> A findAnnotation(@NonNull AnnotatedElement element, Class<A> annotationType)
findAnnotation 在接口中 AnnotationFinderelement - elementannotationType - annotation typepublic <A extends Annotation> Set<A> findAllAnnotations(@NonNull AnnotatedElement element, Class<A> annotationType)
findAllAnnotations 在接口中 AnnotationFinderelement - elementannotationType - annotation typeCopyright © 2024. All rights reserved.