public class ClassAnnotationResolver extends Object implements AnnotationResolver
@Nullable public <T extends Annotation> T findAnnotation(@Nonnull Class<T> annotationClass, @Nonnull Method method)
findAnnotation 在接口中 AnnotationResolverT - annotation typeannotationClass - Metrics annotation to look formethod - method that the corresponding metric may be applied toCopyright © 2020. All rights reserved.