public interface AnnotatedElementAnnotationParser<A extends Annotation,O> extends AnnotationParser<A,AnnotatedElement,O>
| 限定符和类型 | 方法和说明 |
|---|---|
Class<A> |
getAnnotation() |
boolean |
isParseDeclaring()
是否解析声明者,对于 构造器、方法、字段来讲,declaring 就是 class
对于 方法的参数来讲,declaring 就是 method
|
O |
parse(AnnotatedElement annotatedElement) |
Class<A> getAnnotation()
getAnnotation 在接口中 AnnotationParser<A extends Annotation,AnnotatedElement,O>O parse(AnnotatedElement annotatedElement)
parse 在接口中 AnnotationParser<A extends Annotation,AnnotatedElement,O>parse 在接口中 Parser<AnnotatedElement,O>boolean isParseDeclaring()
Copyright © 2021. All rights reserved.