|
static Field | findField (Class<?> clazz, String...fieldNames) |
|
static< T, E > T | getPrivateValue (Class<?super E > classToAccess, E instance, int fieldIndex) |
|
static< T, E > T | getPrivateValue (Class<?super E > classToAccess, E instance, String...fieldNames) |
|
static< T, E > void | setPrivateValue (Class<?super T > classToAccess, T instance, E value, int fieldIndex) |
|
static< T, E > void | setPrivateValue (Class<?super T > classToAccess, T instance, E value, String...fieldNames) |
|
static Class<?super Object > | getClass (ClassLoader loader, String...classNames) |
|
static< E > Method | findMethod (Class<?super E > clazz, E instance, String[] methodNames, Class<?>...methodTypes) |
|
Some reflection helper code.
- Author
- cpw