org.apache.cxf.jaxrs.utils
Class AnnotationUtils
java.lang.Object
org.apache.cxf.jaxrs.utils.AnnotationUtils
public final class AnnotationUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isContextClass
public static boolean isContextClass(java.lang.Class<?> contextClass)
isParamAnnotationClass
public static boolean isParamAnnotationClass(java.lang.Class<?> annotationClass)
isMethodParamAnnotationClass
public static boolean isMethodParamAnnotationClass(java.lang.Class<?> annotationClass)
isMethodParamAnnotations
public static boolean isMethodParamAnnotations(java.lang.annotation.Annotation[] paramAnnotations)
isMethodAnnotation
public static boolean isMethodAnnotation(java.lang.annotation.Annotation a)
getAnnotationValue
public static java.lang.String getAnnotationValue(java.lang.annotation.Annotation a)
getAnnotation
public static <T> T getAnnotation(java.lang.annotation.Annotation[] anns,
java.lang.Class<T> type)
getAnnotatedMethod
public static java.lang.reflect.Method getAnnotatedMethod(java.lang.reflect.Method m)
getHttpMethodValue
public static java.lang.String getHttpMethodValue(java.lang.reflect.Method m)
getMethodAnnotation
public static java.lang.annotation.Annotation getMethodAnnotation(java.lang.reflect.Method m,
java.lang.Class<? extends java.lang.annotation.Annotation> aClass)
getClassAnnotation
public static java.lang.annotation.Annotation getClassAnnotation(java.lang.Class<?> c,
java.lang.Class<? extends java.lang.annotation.Annotation> aClass)
isEncoded
public static boolean isEncoded(java.lang.annotation.Annotation[] anns,
OperationResourceInfo ori)
getDefaultParameterValue
public static java.lang.String getDefaultParameterValue(java.lang.annotation.Annotation[] anns,
OperationResourceInfo ori)
Apache CXF