public class ResourceModeShadowPicker<T> extends Object implements ShadowPicker<T>
Constructor and Description |
---|
ResourceModeShadowPicker(Class<? extends T> legacyShadowClass,
Class<? extends T> binaryShadowClass,
Class<? extends T> binary9ShadowClass) |
ResourceModeShadowPicker(Class<? extends T> legacyShadowClass,
Class<? extends T> binaryShadowClass,
Class<? extends T> binary9ShadowClass,
Class<? extends T> binary10ShadowClass) |
Modifier and Type | Method and Description |
---|---|
Class<? extends T> |
pickShadowClass()
Determines the shadow class to be used depending on the configuration of the
org.robolectric.internal.Environment . |
public ResourceModeShadowPicker(Class<? extends T> legacyShadowClass, Class<? extends T> binaryShadowClass, Class<? extends T> binary9ShadowClass)
public Class<? extends T> pickShadowClass()
ShadowPicker
Determines the shadow class to be used depending on the configuration of the org.robolectric.internal.Environment
. Must be deterministic.
pickShadowClass
in interface ShadowPicker<T>