public final class AnnotationUtil extends Object
Modifier and Type | Method and Description |
---|---|
static URLClassLoader |
getClassLoader(ClassLoader parent) |
static <T extends Annotation> |
getPrivClassAnnotation(Class<?> clazz,
Class<T> anoClass) |
static <T extends Annotation> |
getPrivMethodAnnotation(Method method,
Class<T> anoClass) |
static Annotation[][] |
getPrivParameterAnnotations(Method method) |
static WebParam |
getWebParam(Method method,
String paraName) |
static WebResult |
getWebResult(Method method) |
static Class<?> |
loadClass(String className,
ClassLoader parent) |
public static <T extends Annotation> T getPrivClassAnnotation(Class<?> clazz, Class<T> anoClass)
public static <T extends Annotation> T getPrivMethodAnnotation(Method method, Class<T> anoClass)
public static Annotation[][] getPrivParameterAnnotations(Method method)
public static URLClassLoader getClassLoader(ClassLoader parent)
public static Class<?> loadClass(String className, ClassLoader parent)
Apache CXF