@AutoFactory public interface ClassHandlerBuilder
ClassHandler
.
To inject your own ClassHandler, annotate a subclass with AutoService
(ClassHandler).
Robolectric's default ClassHandler is ShadowWrangler
.Modifier and Type | Method | Description |
---|---|---|
ClassHandler |
build(ShadowMap shadowMap,
ShadowMatcher shadowMatcher,
Interceptors interceptors) |
Builds a
instance . |
ClassHandler build(ShadowMap shadowMap, ShadowMatcher shadowMatcher, Interceptors interceptors)
instance
.