1package org.robolectric.annotation; 2 3import java.lang.annotation.Documented; 4import java.lang.annotation.ElementType; 5import java.lang.annotation.Retention; 6import java.lang.annotation.RetentionPolicy; 7import java.lang.annotation.Target; 8 9/** 10 * Indicates that a method declaration is intended to shadow a method with the same signature 11 * on the associated Android class. 12 */ 13@Documented 14@Retention(RetentionPolicy.RUNTIME) 15@Target({ElementType.METHOD}) 16public @interface Implementation { 17 /** 18 * The annotated shadow method will be invoked only for the specified SDK or greater. 19 */ 20 int minSdk() default -1; 21 22 /** 23 * The annotated shadow method will be invoked only for the specified SDK or lesser. 24 */ 25 int maxSdk() default -1; 26} 27