com.sun.jersey.core.reflection
Class AnnotatedMethod
java.lang.Object
com.sun.jersey.core.reflection.AnnotatedMethod
- All Implemented Interfaces:
- AnnotatedElement
public final class AnnotatedMethod
- extends Object
- implements AnnotatedElement
- Author:
- Paul.Sandoz@Sun.Com
AnnotatedMethod
public AnnotatedMethod(Method m)
getMethod
public Method getMethod()
getParameterAnnotations
public Annotation[][] getParameterAnnotations()
getParameterTypes
public Class<?>[] getParameterTypes()
getTypeParameters
public TypeVariable<Method>[] getTypeParameters()
getGenericParameterTypes
public Type[] getGenericParameterTypes()
getMetaMethodAnnotations
public <T extends Annotation> List<T> getMetaMethodAnnotations(Class<T> annotation)
toString
public String toString()
- Overrides:
toString
in class Object
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
- Specified by:
isAnnotationPresent
in interface AnnotatedElement
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interface AnnotatedElement
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interface AnnotatedElement
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interface AnnotatedElement
Copyright © 2011 Oracle Corporation. All Rights Reserved.