1 package org.robolectric.internal.bytecode; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.ElementType; 5 import java.lang.annotation.Inherited; 6 import java.lang.annotation.Retention; 7 import java.lang.annotation.RetentionPolicy; 8 import 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}) 17 public @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 */ shadows()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 */ instrumentedPackages()30 String[] instrumentedPackages() default {}; // DEFAULT_INSTRUMENTED_PACKAGES 31 } 32