1package org.robolectric.internal; 2 3import java.util.Map; 4 5/** 6 * Interface implemented by packages that provide shadows to Robolectric. 7 */ 8public interface ShadowProvider { 9 10 /** 11 * Reset the static state of all shadows provided by this package. 12 */ 13 void reset(); 14 15 /** 16 * Array of Java package names that are shadowed by this package. 17 * 18 * @return Array of Java package names. 19 */ 20 String[] getProvidedPackageNames(); 21 22 /** 23 * Return the mapping of class name to shadow name. 24 * 25 * @return Shadow mapping. 26 */ 27 Map<String, String> getShadowMap(); 28} 29