Package org.robolectric.annotation
Annotation Type ReflectorObject
-
@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ReflectorObject
Serves to cache the reflector object instance and lower test runtime.For example,
@ReflectorObject MyReflector objectReflectoris equivalent to callingreflector(MyReflector.class, realObject).