public class ListAnnotationResolver extends Object implements AnnotationResolver
| 限定符和类型 | 字段和说明 |
|---|---|
private List<AnnotationResolver> |
resolvers |
| 构造器和说明 |
|---|
ListAnnotationResolver(List<AnnotationResolver> resolvers) |
private final List<AnnotationResolver> resolvers
public ListAnnotationResolver(List<AnnotationResolver> resolvers)
@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.