public interface DefinitionContext
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
优先级:
annotationClass不可覆盖时:
- method
- method.declaringClass
- moduleClass
annotationClass可覆盖时:
- method
- moduleClass
- method.declaringClass
|
<T extends Annotation> |
getDeclaringAnnotation(Class<T> annotationClass) |
Class<?> |
getDeclaringClass() |
Method |
getDeclaringMethod() |
String |
getModuleName() |
Class<?> getDeclaringClass()
Method getDeclaringMethod()
String getModuleName()
<T extends Annotation> T getDeclaringAnnotation(Class<T> annotationClass)
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
annotationClass可覆盖时: - method - moduleClass - method.declaringClass
T - annotationClass - annotationClassCopyright © 2021. All rights reserved.