public class Whitebox extends Object
| Constructor and Description |
|---|
Whitebox() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
getInternalState(Object object,
String fieldName) |
static Class<?> |
getType(Object object) |
static <T> T |
invokeMethod(Class<?> clazz,
String methodName,
Object... arguments) |
static <T> T |
invokeMethod(Object object,
String methodName,
Object... arguments) |
static void |
setInternalState(Object object,
String fieldName,
Object value) |