public interface AnnotationResolver
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Annotation> |
findAnnotation(Class<T> annotationClass,
Method method) |
@Nullable <T extends Annotation> T findAnnotation(@Nonnull Class<T> annotationClass, @Nonnull Method method)
T - annotation typeannotationClass - Metrics annotation to look formethod - method that the corresponding metric may be applied toCopyright © 2020. All rights reserved.