Class Classes
- java.lang.Object
-
- org.codehaus.commons.compiler.util.reflect.Classes
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Method
getDeclaredMethod(Class<?> declaringClass, String methodName, Class<?>... parameterTypes)
A wrapper fordeclaringClass.getDeclaredMethod(methodName, parameterTypes)
that catches any exception, wraps it in anAssertionError
, and throws that.static Class<?>
load(ClassLoader classLoader, String className)
A wrapper forclassLoader.loadClass(className)
that catches any exception, wraps it in anAssertionError
, and throws that.static Class<?>
load(String className)
-
-
-
Method Detail
-
load
public static Class<?> load(ClassLoader classLoader, String className)
A wrapper forclassLoader.loadClass(className)
that catches any exception, wraps it in anAssertionError
, and throws that.
-
getDeclaredMethod
public static Method getDeclaredMethod(Class<?> declaringClass, String methodName, Class<?>... parameterTypes)
A wrapper fordeclaringClass.getDeclaredMethod(methodName, parameterTypes)
that catches any exception, wraps it in anAssertionError
, and throws that.
-
-