1package org.robolectric.internal.bytecode; 2 3import java.lang.annotation.Documented; 4import java.lang.annotation.ElementType; 5import java.lang.annotation.Inherited; 6import java.lang.annotation.Retention; 7import java.lang.annotation.RetentionPolicy; 8import java.lang.annotation.Target; 9 10/** 11 * Configuration settings that can be used on a per-class or per-test basis. 12 */ 13@Documented 14@Inherited 15@Retention(RetentionPolicy.RUNTIME) 16@Target({ElementType.TYPE, ElementType.METHOD}) 17public @interface SandboxConfig { 18 /** 19 * A list of shadow classes to enable, in addition to those that are already present. 20 * 21 * @return A list of additional shadow classes to enable. 22 */ 23 Class<?>[] shadows() default {}; // DEFAULT_SHADOWS 24 25 /** 26 * A list of instrumented packages, in addition to those that are already instrumented. 27 * 28 * @return A list of additional instrumented packages. 29 */ 30 String[] instrumentedPackages() default {}; // DEFAULT_INSTRUMENTED_PACKAGES 31} 32