|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.AnnotatedMethod
public final class AnnotatedMethod
Annotated method representation.
| Constructor Summary | |
|---|---|
AnnotatedMethod(java.lang.reflect.Method method)
Create annotated method instance from the Java method. |
|
| Method Summary | ||
|---|---|---|
|
getAnnotation(java.lang.Class<T> annotationType)
|
|
java.lang.annotation.Annotation[] |
getAnnotations()
|
|
java.lang.annotation.Annotation[] |
getDeclaredAnnotations()
|
|
java.lang.reflect.Type[] |
getGenericParameterTypes()
Get generic method parameter types. |
|
|
getMetaMethodAnnotations(java.lang.Class<T> annotation)
Get all instances of the specified meta-annotation type found on the method annotations. |
|
java.lang.reflect.Method |
getMethod()
Get the underlying Java method. |
|
java.lang.annotation.Annotation[][] |
getParameterAnnotations()
Get method parameter annotations. |
|
java.lang.Class<?>[] |
getParameterTypes()
Get method parameter types. |
|
java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] |
getTypeParameters()
Get method type parameters. |
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedMethod(java.lang.reflect.Method method)
Java method.
method - Java method.| Method Detail |
|---|
public java.lang.reflect.Method getMethod()
public java.lang.annotation.Annotation[][] getParameterAnnotations()
public java.lang.Class<?>[] getParameterTypes()
Method.getParameterTypes().
public java.lang.reflect.TypeVariable<java.lang.reflect.Method>[] getTypeParameters()
Method.getTypeParameters().
public java.lang.reflect.Type[] getGenericParameterTypes()
Method.getGenericParameterTypes().
public <T extends java.lang.annotation.Annotation> java.util.List<T> getMetaMethodAnnotations(java.lang.Class<T> annotation)
T - meta-annotation type.annotation - meta-annotation class to be searched for.
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.AnnotatedElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||