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