|
static< T, E > T | getPrivateValue (Class<?super E > classToAccess, E instance, int fieldIndex) |
|
static String[] | remapFieldNames (String className, String...fieldNames) |
|
static< T, E > T | getPrivateValue (Class<?super E > classToAccess, E instance, String...fieldNames) |
|
static< T, E > void | setPrivateValue (Class<?super T > classToAccess, T instance, int fieldIndex, E value) |
|
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, String fieldName, E value) |
|
static< T, E > void | setPrivateValue (Class<?super T > classToAccess, T instance, E value, String...fieldNames) |
|
Some reflection helper code.
- Author
- cpw