org.apache.cxf.jaxrs.utils
Class AnnotationUtils
java.lang.Object
org.apache.cxf.jaxrs.utils.AnnotationUtils
public final class AnnotationUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBindingPriority
public static int getBindingPriority(Class<?> providerCls)
getNameBindings
public static Set<String> getNameBindings(Annotation[] targetAnns)
isParamAnnotationClass
public static boolean isParamAnnotationClass(Class<?> annotationClass)
isValidParamAnnotationClass
public static boolean isValidParamAnnotationClass(Class<?> annotationClass)
isValidParamAnnotations
public static boolean isValidParamAnnotations(Annotation[] paramAnnotations)
isMethodAnnotation
public static boolean isMethodAnnotation(Annotation a)
getAnnotationValue
public static String getAnnotationValue(Annotation a)
getAnnotation
public static <T> T getAnnotation(Annotation[] anns,
Class<T> type)
getAnnotatedMethod
public static Method getAnnotatedMethod(Method m)
getHttpMethodValue
public static String getHttpMethodValue(Method m)
getMethodAnnotation
public static <A extends Annotation> A getMethodAnnotation(Method m,
Class<A> aClass)
getClassAnnotation
public static <A extends Annotation> A getClassAnnotation(Class<?> c,
Class<A> aClass)
getDefaultParameterValue
public static String getDefaultParameterValue(Annotation[] anns)
Apache CXF