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 * Shadow fields annotated @RealObject will have the real instance injected. 11 */ 12 @Documented 13 @Retention(RetentionPolicy.RUNTIME) 14 @Target({ElementType.FIELD}) 15 public @interface RealObject { 16 } 17