public class com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest extends com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest
  super_class: com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
{
  static final java.lang.String DEFAULT_OPTION_VALUE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "default"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
         0: .line 64
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest.<init>:()V
         1: .line 65
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.cleanupOnSetup:Z
         2: .line 66
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest;

  public void testOptions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
         0: .line 93
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
         1: .line 94
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        start local 1 // com.oracle.truffle.api.TruffleContext tc
         2: .line 95
            ldc "default"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 96
            ldc "default"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 97
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 100
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
         6: .line 101
            ldc "proxyInstrument.EngineOption1"
            ldc "engineValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
         7: .line 102
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
         8: .line 100
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
         9: .line 103
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        10: .line 104
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 105
            ldc "contextValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 106
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        13: .line 109
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        14: .line 110
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        15: .line 111
            ldc "default"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 112
            ldc "contextValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        17: .line 113
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        18: .line 116
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.EngineOption1"
            ldc "engineValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        19: .line 117
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        20: .line 118
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        21: .line 119
            ldc "default"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        22: .line 120
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        23: .line 123
            invokestatic org.graalvm.polyglot.Engine.newBuilder:()Lorg/graalvm/polyglot/Engine$Builder;
            ldc "proxyInstrument.EngineOption1"
            ldc "engineValue"
            invokevirtual org.graalvm.polyglot.Engine$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Engine$Builder;
            invokevirtual org.graalvm.polyglot.Engine$Builder.build:()Lorg/graalvm/polyglot/Engine;
            astore 2 /* engine */
        start local 2 // org.graalvm.polyglot.Engine engine
        24: .line 124
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue1"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        25: .line 125
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        26: .line 126
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        27: .line 127
            ldc "contextValue1"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        28: .line 128
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        29: .line 130
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue2"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        30: .line 131
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        31: .line 132
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        32: .line 133
            ldc "contextValue2"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        33: .line 134
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        34: .line 135
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        35: .line 138
            invokestatic org.graalvm.polyglot.Engine.newBuilder:()Lorg/graalvm/polyglot/Engine$Builder;
        36: .line 139
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue"
            invokevirtual org.graalvm.polyglot.Engine$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Engine$Builder;
        37: .line 140
            ldc "proxyInstrument.EngineOption1"
            ldc "engineValue"
            invokevirtual org.graalvm.polyglot.Engine$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Engine$Builder;
            invokevirtual org.graalvm.polyglot.Engine$Builder.build:()Lorg/graalvm/polyglot/Engine;
        38: .line 138
            astore 2 /* engine */
        39: .line 142
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        40: .line 143
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        41: .line 144
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        42: .line 145
            ldc "contextValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        43: .line 146
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        44: .line 149
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValueOverride"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.setupEnv:(Lorg/graalvm/polyglot/Context$Builder;Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)V
        45: .line 150
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 1 /* tc */
        46: .line 151
            ldc "engineValue"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:()Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions.EngineOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        47: .line 152
            ldc "contextValueOverride"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            aload 1 /* tc */
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getOptions:(Lcom/oracle/truffle/api/TruffleContext;)Lorg/graalvm/options/OptionValues;
            getstatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions.ContextOption1:Lorg/graalvm/options/OptionKey;
            invokeinterface org.graalvm.options.OptionValues.get:(Lorg/graalvm/options/OptionKey;)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        48: .line 153
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
        49: .line 155
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        50: .line 156
            return
        end local 2 // org.graalvm.polyglot.Engine engine
        end local 1 // com.oracle.truffle.api.TruffleContext tc
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   51     0    this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest;
            2   51     1      tc  Lcom/oracle/truffle/api/TruffleContext;
           24   51     2  engine  Lorg/graalvm/polyglot/Engine;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInitializeByContextOption();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
         0: .line 160
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.<init>:()V
            astore 1 /* instrument */
        start local 1 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument instrument
         1: .line 161
            aload 1 /* instrument */
            invokestatic com.oracle.truffle.api.test.polyglot.ProxyInstrument.setDelegate:(Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;
            pop
         2: .line 162
            invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 2 /* engine */
        start local 2 // org.graalvm.polyglot.Engine engine
         3: .line 163
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 3 /* c */
        start local 3 // org.graalvm.polyglot.Context c
         4: .line 164
            aload 1 /* instrument */
            getfield com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument.created:Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 165
            aload 3 /* c */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         6: .line 166
            aload 2 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
         7: .line 167
            return
        end local 3 // org.graalvm.polyglot.Context c
        end local 2 // org.graalvm.polyglot.Engine engine
        end local 1 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument instrument
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest;
            1    8     1  instrument  Lcom/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest$TestInstrument;
            3    8     2      engine  Lorg/graalvm/polyglot/Engine;
            4    8     3           c  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInvalidOptions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
         0: .line 186
            new com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$InvalidInstrument
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$InvalidInstrument.<init>:()V
            invokestatic com.oracle.truffle.api.test.polyglot.ProxyInstrument.setDelegate:(Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;)Lcom/oracle/truffle/api/test/polyglot/ProxyInstrument;
            pop
         1: .line 187
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            ldc "proxyInstrument.ContextOption1"
            ldc "contextValue"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            astore 1 /* contextBuilder */
        start local 1 // org.graalvm.polyglot.Context$Builder contextBuilder
         2: .line 188
            aload 1 /* contextBuilder */
            invokedynamic call(Lorg/graalvm/polyglot/Context$Builder;)Ljava/util/concurrent/Callable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  com/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest.lambda$0(Lorg/graalvm/polyglot/Context$Builder;)Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Lorg/graalvm/polyglot/PolyglotException;
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  com/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest.lambda$1(Lorg/graalvm/polyglot/PolyglotException;)V (6)
                  (Lorg/graalvm/polyglot/PolyglotException;)V
            invokestatic com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         3: .line 191
            return
        end local 1 // org.graalvm.polyglot.Context$Builder contextBuilder
        end local 0 // com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            this  Lcom/oracle/truffle/api/instrumentation/test/InstrumentOptionsTest;
            2    4     1  contextBuilder  Lorg/graalvm/polyglot/Context$Builder;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static java.lang.Object lambda$0(org.graalvm.polyglot.Context$Builder);
    descriptor: (Lorg/graalvm/polyglot/Context$Builder;)Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 188
            aload 0
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  private static void lambda$1(org.graalvm.polyglot.PolyglotException);
    descriptor: (Lorg/graalvm/polyglot/PolyglotException;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.PolyglotException e
         0: .line 189
            aload 0 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isInternalError:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         1: .line 190
            return
        end local 0 // org.graalvm.polyglot.PolyglotException e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0     e  Lorg/graalvm/polyglot/PolyglotException;
}
SourceFile: "InstrumentOptionsTest.java"
NestMembers:
  com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions  com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions  com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$InvalidInstrument  com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument
InnerClasses:
  public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  ContextOptions = com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$ContextOptions of com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest
  EngineOptions = com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$EngineOptions of com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest
  InvalidInstrument = com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$InvalidInstrument of com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest
  TestInstrument = com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest$TestInstrument of com.oracle.truffle.api.instrumentation.test.InstrumentOptionsTest
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context
  public final Builder = org.graalvm.polyglot.Engine$Builder of org.graalvm.polyglot.Engine