Package org.robolectric.shadows.multidex
Class Shadows
java.lang.Object
org.robolectric.shadows.multidex.Shadows
- All Implemented Interfaces:
ShadowProvider
@Generated("org.robolectric.annotation.processing.RobolectricProcessor")
public class Shadows
extends Object
implements ShadowProvider
Shadow mapper. Automatically generated by the Robolectric Annotation Processor.
-
Constructor Details
-
Shadows
public Shadows()
-
-
Method Details
-
reset
public void reset()Description copied from interface:ShadowProvider
Reset the static state of all shadows provided by this package.- Specified by:
reset
in interfaceShadowProvider
-
getShadows
Description copied from interface:ShadowProvider
Return a collection of Map.Entry objects representing the mapping of class name to shadow name.This is a multimap instead of a regular map in order to support, for instance, multiple shadows per class that only differ by SDK level.
It also uses a
Collection<Entry<String, String>>
as the return value to avoid having a dependency on something like Guava Multimap.- Specified by:
getShadows
in interfaceShadowProvider
- Returns:
- Shadow mapping.
-
getProvidedPackageNames
Description copied from interface:ShadowProvider
Array of Java package names that are shadowed by this package.- Specified by:
getProvidedPackageNames
in interfaceShadowProvider
- Returns:
- Array of Java package names.
-