Package | Description |
---|---|
org.powermock.reflect | |
org.powermock.reflect.internal | |
org.powermock.reflect.matching |
Modifier and Type | Method and Description |
---|---|
static void |
Whitebox.setInternalStateFromContext(Object instance,
Class<?> context,
FieldMatchingStrategy strategy)
Set the values of multiple static fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy . |
static void |
Whitebox.setInternalStateFromContext(Object instance,
Object context,
FieldMatchingStrategy strategy)
Set the values of multiple instance fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy . |
Modifier and Type | Method and Description |
---|---|
static void |
WhiteboxImpl.setInternalStateFromContext(Object object,
Object context,
FieldMatchingStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
static FieldMatchingStrategy |
FieldMatchingStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldMatchingStrategy[] |
FieldMatchingStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2019. All rights reserved.