public class AnnotationUtils
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.reflect.AnnotatedElement element,
java.lang.Class<A> annotationType)
获取指定类型的注解或注解上有指定的注解.
|