Uses of Enum
org.powermock.reflect.matching.FieldMatchingStrategy
Packages that use FieldMatchingStrategy
Package
Description
-
Uses of FieldMatchingStrategy in org.powermock.reflect
Methods in org.powermock.reflect with parameters of type FieldMatchingStrategyModifier and TypeMethodDescriptionstatic 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 explicitFieldMatchingStrategy
.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 explicitFieldMatchingStrategy
. -
Uses of FieldMatchingStrategy in org.powermock.reflect.internal
Methods in org.powermock.reflect.internal with parameters of type FieldMatchingStrategyModifier and TypeMethodDescription(package private) static void
WhiteboxImpl.copyState
(Object object, Object context, FieldMatchingStrategy strategy) Copy state.static void
WhiteboxImpl.setInternalStateFromContext
(Object object, Object context, FieldMatchingStrategy strategy) -
Uses of FieldMatchingStrategy in org.powermock.reflect.matching
Methods in org.powermock.reflect.matching that return FieldMatchingStrategyModifier and TypeMethodDescriptionstatic FieldMatchingStrategy
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.