• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.annotation;
2 
3 import java.lang.annotation.Documented;
4 import java.lang.annotation.ElementType;
5 import java.lang.annotation.Retention;
6 import java.lang.annotation.RetentionPolicy;
7 import java.lang.annotation.Target;
8 
9 /**
10  * Serves to cache the reflector object instance and lower test runtime.
11  *
12  * <p>For example, <code>@ReflectorObject MyReflector objectReflector</code> is equivalent to
13  * calling <code>reflector(MyReflector.class, realObject)</code>.
14  */
15 @Documented
16 @Retention(RetentionPolicy.RUNTIME)
17 @Target({ElementType.FIELD})
18 public @interface ReflectorObject {}
19