接口 DefinitionContext
public interface DefinitionContext
Created by davidoff shen on 2017-04-28.
-
方法概要
修饰符和类型方法说明<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) 优先级: annotationClass不可覆盖时: - method - method.declaringClass - moduleClass<T extends Annotation>
TgetDeclaringAnnotation(Class<T> annotationClass) Class<?>
-
方法详细资料
-
getDeclaringClass
Class<?> getDeclaringClass() -
getDeclaringMethod
Method getDeclaringMethod() -
getModuleName
String getModuleName() -
getDeclaringAnnotation
-
getAnnotation
优先级: annotationClass不可覆盖时: - method - method.declaringClass - moduleClassannotationClass可覆盖时: - method - moduleClass - method.declaringClass
- 类型参数:
T-- 参数:
annotationClass- annotationClass- 返回:
- annotation
-