public final class AnnotationUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Method |
getAnnotatedMethod(Class<?> serviceClass,
Method m) |
static <T> T |
getAnnotation(Annotation[] anns,
Class<T> type) |
static String |
getAnnotationValue(Annotation a) |
static int |
getBindingPriority(Class<?> providerCls) |
static <A extends Annotation> |
getClassAnnotation(Class<?> c,
Class<A> aClass) |
static String |
getDefaultParameterValue(Annotation[] anns) |
static String |
getHttpMethodValue(Method m) |
static <A extends Annotation> |
getMethodAnnotation(Method m,
Class<A> aClass) |
static Set<String> |
getNameBindings(Annotation[] targetAnns) |
static boolean |
isMethodAnnotation(Annotation a) |
static boolean |
isParamAnnotationClass(Class<?> annotationClass) |
static boolean |
isValidParamAnnotationClass(Class<?> annotationClass) |
static boolean |
isValidParamAnnotations(Annotation[] paramAnnotations) |
public static int getBindingPriority(Class<?> providerCls)
public static Set<String> getNameBindings(Annotation[] targetAnns)
public static boolean isParamAnnotationClass(Class<?> annotationClass)
public static boolean isValidParamAnnotationClass(Class<?> annotationClass)
public static boolean isValidParamAnnotations(Annotation[] paramAnnotations)
public static boolean isMethodAnnotation(Annotation a)
public static String getAnnotationValue(Annotation a)
public static <T> T getAnnotation(Annotation[] anns, Class<T> type)
public static <A extends Annotation> A getMethodAnnotation(Method m, Class<A> aClass)
public static <A extends Annotation> A getClassAnnotation(Class<?> c, Class<A> aClass)
public static String getDefaultParameterValue(Annotation[] anns)
Apache CXF