public class FieldAnnotationScanner extends Object implements AnnotationScanner
Field上的注解| 构造器和说明 |
|---|
FieldAnnotationScanner() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Annotation> |
getAnnotations(AnnotatedElement annotatedElement)
获取可注解元素上的全部注解。
|
boolean |
support(AnnotatedElement annotatedElement)
是否支持扫描该可注解元素
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIfSupport, scanByAllScanner, scanByAnySupportedpublic boolean support(AnnotatedElement annotatedElement)
AnnotationScannersupport 在接口中 AnnotationScannerannotatedElement - 可注解元素public List<Annotation> getAnnotations(AnnotatedElement annotatedElement)
AnnotationScannerAnnotationScanner.support(AnnotatedElement)返回为truegetAnnotations 在接口中 AnnotationScannerannotatedElement - 可注解元素Copyright © 2022. All rights reserved.