public class Reflection extends Object
| Constructor and Description |
|---|
Reflection() |
| Modifier and Type | Method and Description |
|---|---|
static void |
handleInvocationTargetException(InvocationTargetException ex) |
static void |
handleReflectionException(Exception ex) |
static Object |
invoke(Method method,
Object target,
Object... args) |
static Class<?> |
load(ClassLoader classLoader,
String name) |
static Method |
method(Class<?> clazz,
String name) |
static Method |
method(Class<?> clazz,
String name,
Class<?>... paramTypes) |
static void |
rethrowRuntimeException(Throwable ex) |
public Reflection()
public static Class<?> load(ClassLoader classLoader, String name)
public static void handleReflectionException(Exception ex)
public static void rethrowRuntimeException(Throwable ex)
public static void handleInvocationTargetException(InvocationTargetException ex)