Class ShadowMap
java.lang.Object
org.robolectric.internal.bytecode.ShadowMap
Maps from instrumented class to shadow class.
We deal with class names rather than actual classes here, since a ShadowMap is built outside
of any sandboxes, but instrumented and shadowed classes must be loaded through a SandboxClassLoader
. We don't want to try to resolve those classes outside of a sandbox.
Once constructed, instances are immutable.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertToShadowName
(String className) Deprecated.do not usestatic ShadowMap
createFromShadowProviders
(List<ShadowProvider> sortedProviders) boolean
getInvalidatedClasses
(ShadowMap previous) getShadowInfo
(Class<?> clazz, ShadowMatcher shadowMatcher) int
hashCode()
boolean
hasShadowPicker
(MutableClass mutableClass) static ShadowInfo
obtainShadowInfo
(Class<?> clazz)