Annotation Type Resetter


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Resetter
Indicates that the annotated method is used to reset static state in a shadow.

The annotated method should be public static, have no parameters, and be contained in a shadow class annotated with Implements.

The Robolectric test runner will call Resetter annotated methods during test teardown, if the shadow class or its targeted Implements class has been loaded by the ClassLoader.