public final class AnnotatedMethod
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
| Constructor and Description |
|---|
AnnotatedMethod(java.lang.reflect.Method m) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.reflect.Type[] |
getGenericParameterTypes() |
<T extends java.lang.annotation.Annotation> |
getMetaMethodAnnotations(java.lang.Class<T> annotation) |
java.lang.reflect.Method |
getMethod() |
java.lang.annotation.Annotation[][] |
getParameterAnnotations() |
java.lang.Class<?>[] |
getParameterTypes() |
java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] |
getTypeParameters() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.lang.String |
toString() |
public java.lang.reflect.Method getMethod()
public java.lang.annotation.Annotation[][] getParameterAnnotations()
public java.lang.Class<?>[] getParameterTypes()
public java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters()
public java.lang.reflect.Type[] getGenericParameterTypes()
public <T extends java.lang.annotation.Annotation> java.util.List<T> getMetaMethodAnnotations(java.lang.Class<T> annotation)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementCopyright © 2016 Oracle Corporation. All Rights Reserved.