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