public final class AnnotationUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <A extends java.lang.annotation.Annotation> |
find(java.lang.reflect.Method m,
java.lang.Class<A> type)
Finds the annotation of the given
type on the given method. |
public static <A extends java.lang.annotation.Annotation> A find(java.lang.reflect.Method m,
java.lang.Class<A> type)
type on the given method.m - The Method to find the annotation antype - The type of annotation to findnull.