public class ClassAnnotationResolver extends java.lang.Object implements AnnotationResolver
| Constructor and Description |
|---|
ClassAnnotationResolver() |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
findAnnotation(java.lang.Class<T> annotationClass,
java.lang.reflect.Method method) |
@Nullable
public <T extends java.lang.annotation.Annotation> T findAnnotation(@Nonnull
java.lang.Class<T> annotationClass,
@Nonnull
java.lang.reflect.Method method)
findAnnotation in interface AnnotationResolverT - annotation typeannotationClass - Metrics annotation to look formethod - method that the corresponding metric may be applied to