
org.robolectric.annotation.ReflectorObject Maven / Gradle / Ivy
package org.robolectric.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Serves to cache the reflector object instance and lower test runtime.
*
* For example, @ReflectorObject MyReflector objectReflector
is equivalent to
* calling reflector(MyReflector.class, realObject)
.
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface ReflectorObject {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy