Annotation Type SandboxConfig


@Documented @Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface SandboxConfig
Configuration settings that can be used on a per-class or per-test basis.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A list of instrumented packages, in addition to those that are already instrumented.
    Class<?>[]
    A list of shadow classes to enable, in addition to those that are already present.
  • Element Details

    • shadows

      Class<?>[] shadows
      A list of shadow classes to enable, in addition to those that are already present.
      Returns:
      A list of additional shadow classes to enable.
      Default:
      {}
    • instrumentedPackages

      String[] instrumentedPackages
      A list of instrumented packages, in addition to those that are already instrumented.
      Returns:
      A list of additional instrumented packages.
      Default:
      {}