1package com.xtremelabs.robolectric.internal; 2 3 4/** 5 * Indicates that a class declaration is intended to Shadow an Android class declaration. The Robolectric runtime 6 * searches classes with this annotation for methods with the {@link Implementation} annotation and calls them in 7 * place of the methods on the Android class. 8 */ 9@java.lang.annotation.Documented 10@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) 11@java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) 12public @interface Implements { 13 /** 14 * the Android class to be shadowed 15 */ 16 Class value(); 17} 18