public class com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest 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.ExecutionListenerTest
  super_class: com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
{
  final java.util.Deque<org.graalvm.polyglot.management.ExecutionEvent> events;
    descriptor: Ljava/util/Deque;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/Deque<Lorg/graalvm/polyglot/management/ExecutionEvent;>;

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 78
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest.<init>:()V
         1: .line 85
            aload 0 /* this */
            new java.util.ArrayDeque
            dup
            invokespecial java.util.ArrayDeque.<init>:()V
            putfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
         2: .line 78
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;

  public static void beforeClass();
    descriptor: ()V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 82
            invokestatic com.oracle.truffle.api.instrumentation.test.CompileImmediatelyCheck.isCompileImmediately:()Z
            invokestatic org.junit.Assume.assumeFalse:(Z)V
         1: .line 83
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    RuntimeVisibleAnnotations: 
      org.junit.BeforeClass()

  private void add(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         0: .line 88
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         1: .line 89
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            aload 1 /* event */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
         2: .line 90
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            0    3     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
       Name  Flags
      event  

  public void testSourceEquality();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 97
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 98
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            astore 2 /* source */
        start local 2 // org.graalvm.polyglot.Source source
         2: .line 100
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 101
            ldc "EXPRESSION"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 102
            aload 2 /* source */
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getSource:()Lorg/graalvm/polyglot/Source;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 104
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            astore 4 /* otherSource */
        start local 4 // org.graalvm.polyglot.Source otherSource
         6: .line 105
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 5 /* otherEvent */
        start local 5 // org.graalvm.polyglot.management.ExecutionEvent otherEvent
         7: .line 106
            aload 1 /* event */
            aload 5 /* otherEvent */
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 107
            aload 2 /* source */
            aload 5 /* otherEvent */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getSource:()Lorg/graalvm/polyglot/Source;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 108
            aload 4 /* otherSource */
            aload 5 /* otherEvent */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getSource:()Lorg/graalvm/polyglot/Source;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 110
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        11: .line 111
            return
        end local 5 // org.graalvm.polyglot.management.ExecutionEvent otherEvent
        end local 4 // org.graalvm.polyglot.Source otherSource
        end local 2 // org.graalvm.polyglot.Source source
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   12     0         this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   12     1        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            2   12     2       source  Lorg/graalvm/polyglot/Source;
            6   12     4  otherSource  Lorg/graalvm/polyglot/Source;
            7   12     5   otherEvent  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnEnterExpression();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 116
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 117
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 119
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 120
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 121
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 122
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 123
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 124
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 125
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         9: .line 126
            ldc "EXPRESSION"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 128
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 129
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 131
            aload 0 /* this */
            ldc "EXPRESSION(EXPRESSION, STATEMENT, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 133
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 134
            ldc "EXPRESSION"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 135
            ldc "EXPRESSION"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 136
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnEnterStatement();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 141
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 142
            aload 0 /* this */
            ldc "STATEMENT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 144
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 145
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 146
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 147
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 148
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 149
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 150
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 151
            ldc "STATEMENT"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 153
            aload 0 /* this */
            ldc "STATEMENT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 154
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 156
            aload 0 /* this */
            ldc "STATEMENT(STATEMENT, EXPRESSION, STATEMENT)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 158
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 159
            ldc "STATEMENT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 160
            ldc "STATEMENT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 161
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnEnterRoots();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 166
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 167
            aload 0 /* this */
            ldc "ROOT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 169
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 170
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 171
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 172
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 173
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 174
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 175
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 176
            ldc "ROOT"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 178
            aload 0 /* this */
            ldc "ROOT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 179
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 181
            aload 0 /* this */
            ldc "ROOT(ROOT, EXPRESSION, ROOT)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 183
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 184
            ldc "ROOT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 185
            ldc "ROOT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 186
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnReturnExpressions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 191
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 192
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 194
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 195
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 196
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 197
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 198
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 199
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 200
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         9: .line 201
            ldc "EXPRESSION"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 203
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 204
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 206
            aload 0 /* this */
            ldc "EXPRESSION(EXPRESSION, STATEMENT, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 208
            ldc "EXPRESSION"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 209
            ldc "EXPRESSION"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 210
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        16: .line 211
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnReturnStatements();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 216
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 217
            aload 0 /* this */
            ldc "STATEMENT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 219
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 220
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 221
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 222
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 223
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 224
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 225
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 226
            ldc "STATEMENT"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 228
            aload 0 /* this */
            ldc "STATEMENT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 229
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 231
            aload 0 /* this */
            ldc "STATEMENT(STATEMENT, EXPRESSION, STATEMENT)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 233
            ldc "STATEMENT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 234
            ldc "STATEMENT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 235
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        16: .line 236
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnReturnRoots();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 241
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 242
            aload 0 /* this */
            ldc "ROOT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 244
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 245
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 246
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 247
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 248
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 249
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 250
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 251
            ldc "ROOT"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 253
            aload 0 /* this */
            ldc "ROOT"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 254
            aload 1 /* event */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 256
            aload 0 /* this */
            ldc "ROOT(ROOT, EXPRESSION, ROOT)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 258
            ldc "ROOT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 259
            ldc "ROOT"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 260
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharIndex:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        16: .line 261
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnErrorExpressions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 266
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 267
            aload 0 /* this */
            ldc "TRY(EXPRESSION(THROW(error, message)), CATCH(error))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 269
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 270
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 271
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 272
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 273
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 274
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 275
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         9: .line 276
            ldc "EXPRESSION(THROW(error, message))"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 278
            ldc "EXPRESSION(TRY(EXPRESSION(THROW(error0, message)), CATCH(error0)), TRY(STATEMENT(THROW(error1, message)), CATCH(error1)), TRY(EXPRESSION(THROW(error2, message)), CATCH(error2)))"
            astore 3 /* s */
        start local 3 // java.lang.String s
        11: .line 281
            aload 0 /* this */
            aload 3 /* s */
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        12: .line 283
            ldc "EXPRESSION(THROW(error0, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 284
            ldc "EXPRESSION(THROW(error2, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 285
            aload 3 /* s */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 286
            return
        end local 3 // java.lang.String s
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   16     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   16     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
           11   16     3      s  Ljava/lang/String;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnErrorStatements();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 291
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 292
            aload 0 /* this */
            ldc "TRY(STATEMENT(THROW(error, message)), CATCH(error))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 294
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 295
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 296
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 297
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 298
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         7: .line 299
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 300
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 301
            ldc "STATEMENT(THROW(error, message))"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 303
            aload 0 /* this */
            ldc "EXPRESSION(TRY(STATEMENT(THROW(error0, message)), CATCH(error0)), TRY(EXPRESSION(THROW(error1, message)), CATCH(error1)), TRY(STATEMENT(THROW(error2, message)), CATCH(error2)))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 307
            ldc "STATEMENT(THROW(error0, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 308
            ldc "STATEMENT(THROW(error2, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 310
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   14     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testOnErrorRoots();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 315
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 316
            aload 0 /* this */
            ldc "TRY(ROOT(THROW(error, message)), CATCH(error))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 318
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 319
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 320
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         5: .line 321
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         6: .line 322
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 323
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         8: .line 324
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         9: .line 325
            ldc "ROOT(THROW(error, message))"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 326
            ldc "TRY(ROOT(THROW(error, message)), CATCH(error))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 328
            ldc "EXPRESSION(TRY(ROOT(THROW(error0, message)), CATCH(error0)), TRY(EXPRESSION(THROW(error1, message)), CATCH(error1)), TRY(ROOT(THROW(error2, message)), CATCH(error2)))"
            astore 3 /* s */
        start local 3 // java.lang.String s
        12: .line 331
            aload 0 /* this */
            aload 3 /* s */
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 333
            ldc "ROOT(THROW(error0, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 334
            ldc "ROOT(THROW(error2, message))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 335
            aload 3 /* s */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 336
            return
        end local 3 // java.lang.String s
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   17     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
           12   17     3      s  Ljava/lang/String;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectInputValues();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 341
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 342
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 344
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 345
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 347
            aload 0 /* this */
            ldc "EXPRESSION(EXPRESSION(CONSTANT(1)), EXPRESSION(EXPRESSION, EXPRESSION))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         5: .line 350
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 351
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 352
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         8: .line 354
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            astore 3 /* inputs */
        start local 3 // java.util.List inputs
         9: .line 355
            ldc 2
            aload 3 /* inputs */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        10: .line 356
            ldc "()"
            aload 3 /* inputs */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 357
            ldc "()"
            aload 3 /* inputs */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 359
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            astore 3 /* inputs */
        13: .line 360
            ldc 2
            aload 3 /* inputs */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        14: .line 361
            ldc "(1)"
            aload 3 /* inputs */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 362
            ldc "(()+())"
            aload 3 /* inputs */
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 363
            return
        end local 3 // java.util.List inputs
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   17     0    this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   17     1   event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            9   17     3  inputs  Ljava/util/List<Lorg/graalvm/polyglot/Value;>;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectInputValuesDisabled();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 368
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_0
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 369
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 371
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 372
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 373
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3    5     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectInputValuesOnEnter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 378
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 379
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 381
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 382
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 383
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3    5     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectInputValuesOnError();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 388
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 390
            aload 0 /* this */
            ldc " EXPRESSION(EXPRESSION, THROW(error, msg), EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 391
            goto 4
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         3: pop
         4: .line 394
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         5: .line 395
            lconst_0
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         6: .line 397
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
         7: .line 398
            ldc 2
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         8: .line 399
            ldc "()"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 400
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            iconst_1
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        10: .line 401
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   11     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            5   11     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
      Exception table:
        from    to  target  type
           1     2       3  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectReturnValues();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 405
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 406
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 408
            ldc "()"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         3: .line 410
            aload 0 /* this */
            ldc "EXPRESSION(EXPRESSION(CONSTANT(1)), EXPRESSION(EXPRESSION, EXPRESSION))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         4: .line 412
            ldc "(1)"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 413
            ldc "()"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 414
            ldc "()"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         7: .line 415
            ldc "(()+())"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 416
            ldc "((1)+(()+()))"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 417
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectReturnValuesDisabled();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 421
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_0
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 422
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 423
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         3: .line 424
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectReturnValuesOnEnter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 428
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 429
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 430
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         3: .line 431
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectReturnValuesOnError();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 435
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 436
            aconst_null
            astore 2 /* thrownError */
        start local 2 // org.graalvm.polyglot.PolyglotException thrownError
         2: .line 438
            aload 0 /* this */
            ldc "EXPRESSION(THROW(foo, msg))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         3: .line 439
            goto 6
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest top org.graalvm.polyglot.PolyglotException
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 3 /* e */
        start local 3 // org.graalvm.polyglot.PolyglotException e
         5: .line 440
            aload 3 /* e */
            astore 2 /* thrownError */
        end local 3 // org.graalvm.polyglot.PolyglotException e
         6: .line 442
      StackMap locals:
      StackMap stack:
            aload 2 /* thrownError */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         7: .line 443
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         8: .line 444
            return
        end local 2 // org.graalvm.polyglot.PolyglotException thrownError
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    9     0         this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            2    9     2  thrownError  Lorg/graalvm/polyglot/PolyglotException;
            5    6     3            e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           2     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectErrors();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 449
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 450
            aconst_null
            astore 3 /* thrownError */
        start local 3 // org.graalvm.polyglot.PolyglotException thrownError
         2: .line 452
            aload 0 /* this */
            ldc "EXPRESSION(THROW(foo, msg))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         3: .line 453
            goto 6
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest top top org.graalvm.polyglot.PolyglotException
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 4 /* e */
        start local 4 // org.graalvm.polyglot.PolyglotException e
         5: .line 454
            aload 4 /* e */
            astore 3 /* thrownError */
        end local 4 // org.graalvm.polyglot.PolyglotException e
         6: .line 457
      StackMap locals:
      StackMap stack:
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         7: .line 458
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         8: .line 459
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         9: .line 460
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertNotSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 461
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 462
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getCause:()Ljava/lang/Throwable;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        12: .line 463
            ldc "msg"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 464
            ldc "THROW(foo, msg)"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getCharacters:()Ljava/lang/CharSequence;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 465
            ldc "foo: msg"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getGuestObject:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 467
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* stackFrames */
        start local 4 // java.util.List stackFrames
        16: .line 468
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getPolyglotStackTrace:()Ljava/lang/Iterable;
            aload 4 /* stackFrames */
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljava/util/List;)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
                  java/util/List.add(Ljava/lang/Object;)Z (9 itf)
                  (Lorg/graalvm/polyglot/PolyglotException$StackFrame;)V
            invokeinterface java.lang.Iterable.forEach:(Ljava/util/function/Consumer;)V
        17: .line 469
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.Engine.getLanguages:()Ljava/util/Map;
            ldc "instrumentation-test-language"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            aload 4 /* stackFrames */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.PolyglotException$StackFrame
            invokevirtual org.graalvm.polyglot.PolyglotException$StackFrame.getLanguage:()Lorg/graalvm/polyglot/Language;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        18: .line 470
            aload 4 /* stackFrames */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.PolyglotException$StackFrame
            invokevirtual org.graalvm.polyglot.PolyglotException$StackFrame.isHostFrame:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        19: .line 471
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            aload 4 /* stackFrames */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.PolyglotException$StackFrame
            invokevirtual org.graalvm.polyglot.PolyglotException$StackFrame.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        20: .line 472
            aload 4 /* stackFrames */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.PolyglotException$StackFrame
            invokevirtual org.graalvm.polyglot.PolyglotException$StackFrame.isGuestFrame:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        21: .line 474
            iconst_1
            istore 6 /* i */
        start local 6 // int i
        22: goto 25
        23: .line 475
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionEvent top org.graalvm.polyglot.PolyglotException java.util.List top int
      StackMap stack:
            aload 4 /* stackFrames */
            iload 6 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.PolyglotException$StackFrame
            invokevirtual org.graalvm.polyglot.PolyglotException$StackFrame.isHostFrame:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        24: .line 474
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        25: iload 6 /* i */
            aload 4 /* stackFrames */
            invokeinterface java.util.List.size:()I
            if_icmplt 23
        end local 6 // int i
        26: .line 479
            aload 0 /* this */
            ldc "EXPRESSION(THROW(internal, msg))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        27: .line 480
            goto 30
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionEvent top org.graalvm.polyglot.PolyglotException java.util.List
      StackMap stack: org.graalvm.polyglot.PolyglotException
        28: astore 6 /* e */
        start local 6 // org.graalvm.polyglot.PolyglotException e
        29: .line 481
            aload 6 /* e */
            astore 3 /* thrownError */
        end local 6 // org.graalvm.polyglot.PolyglotException e
        30: .line 484
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        31: .line 485
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        32: .line 486
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertNotSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        33: .line 487
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        34: .line 488
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.getCause:()Ljava/lang/Throwable;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        35: .line 489
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokevirtual org.graalvm.polyglot.PolyglotException.isInternalError:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        36: .line 490
            return
        end local 4 // java.util.List stackFrames
        end local 3 // org.graalvm.polyglot.PolyglotException thrownError
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   37     0         this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            8   37     1        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            2   37     3  thrownError  Lorg/graalvm/polyglot/PolyglotException;
            5    6     4            e  Lorg/graalvm/polyglot/PolyglotException;
           16   37     4  stackFrames  Ljava/util/List<Lorg/graalvm/polyglot/PolyglotException$StackFrame;>;
           22   26     6            i  I
           29   30     6            e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           2     3       4  Class org.graalvm.polyglot.PolyglotException
          26    27      28  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectErrorsOnReturn();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 495
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 496
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 497
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 498
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         4: .line 499
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3    5     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectErrorsOnEnter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 504
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 505
            aconst_null
            astore 3 /* thrownError */
        start local 3 // org.graalvm.polyglot.PolyglotException thrownError
         2: .line 507
            aload 0 /* this */
            ldc "EXPRESSION(THROW(foo, msg))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         3: .line 508
            goto 6
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest top top org.graalvm.polyglot.PolyglotException
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 4 /* e */
        start local 4 // org.graalvm.polyglot.PolyglotException e
         5: .line 509
            aload 4 /* e */
            astore 3 /* thrownError */
        end local 4 // org.graalvm.polyglot.PolyglotException e
         6: .line 511
      StackMap locals:
      StackMap stack:
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         7: .line 512
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         8: .line 513
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         9: .line 514
            return
        end local 3 // org.graalvm.polyglot.PolyglotException thrownError
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            8   10     1        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            2   10     3  thrownError  Lorg/graalvm/polyglot/PolyglotException;
            5    6     4            e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           2     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCollectErrorsDisabled();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 519
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_0
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 520
            aconst_null
            astore 3 /* thrownError */
        start local 3 // org.graalvm.polyglot.PolyglotException thrownError
         2: .line 522
            aload 0 /* this */
            ldc "EXPRESSION(THROW(foo, msg))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         3: .line 523
            goto 6
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest top top org.graalvm.polyglot.PolyglotException
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 4 /* e */
        start local 4 // org.graalvm.polyglot.PolyglotException e
         5: .line 524
            aload 4 /* e */
            astore 3 /* thrownError */
        end local 4 // org.graalvm.polyglot.PolyglotException e
         6: .line 526
      StackMap locals:
      StackMap stack:
            aload 3 /* thrownError */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         7: .line 527
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         8: .line 528
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
         9: .line 529
            return
        end local 3 // org.graalvm.polyglot.PolyglotException thrownError
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            8   10     1        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            2   10     3  thrownError  Lorg/graalvm/polyglot/PolyglotException;
            5    6     4            e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           2     3       4  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testCombinedElements();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 534
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 535
            aload 0 /* this */
            ldc "MULTIPLE[EXPRESSION, STATEMENT, ROOT]"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 536
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         3: .line 537
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         4: .line 538
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         5: .line 539
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 541
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         7: .line 542
            aload 0 /* this */
            ldc "MULTIPLE[EXPRESSION, STATEMENT, ROOT]"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         8: .line 543
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
         9: .line 544
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        10: .line 545
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        11: .line 546
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        12: .line 548
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        13: .line 549
            aload 0 /* this */
            ldc "ROOT(MULTIPLE[EXPRESSION, STATEMENT, ROOT])"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        14: .line 550
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        15: .line 551
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        16: .line 552
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        17: .line 553
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        18: .line 554
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        19: .line 556
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        20: .line 557
            aload 0 /* this */
            ldc "ROOT(MULTIPLE[EXPRESSION, STATEMENT, ROOT])"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        21: .line 558
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        22: .line 559
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        23: .line 560
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        24: .line 561
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        25: .line 562
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        26: .line 563
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   27     0   this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            3   27     1  event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testSourceFilter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 568
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$28(Lorg/graalvm/polyglot/Source;)Z (6)
                  (Lorg/graalvm/polyglot/Source;)Z
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.sourceFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         1: .line 570
            ldc "instrumentation-test-language"
            ldc "EXPRESSION"
            ldc "test0"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 3 /* source0 */
        start local 3 // org.graalvm.polyglot.Source source0
         2: .line 571
            ldc "instrumentation-test-language"
            ldc "EXPRESSION"
            ldc "test1"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            astore 4 /* source1 */
        start local 4 // org.graalvm.polyglot.Source source1
         3: .line 573
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            aload 3 /* source0 */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         4: .line 574
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            aload 4 /* source1 */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 575
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 1 /* event */
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent event
         6: .line 576
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         7: .line 577
            ldc "test1"
            aload 1 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getSource:()Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Source.getName:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 579
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         9: .line 580
            return
        end local 4 // org.graalvm.polyglot.Source source1
        end local 3 // org.graalvm.polyglot.Source source0
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            6   10     1    event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            2   10     3  source0  Lorg/graalvm/polyglot/Source;
            3   10     4  source1  Lorg/graalvm/polyglot/Source;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testDispose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 584
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic accept(Ljava/util/Deque;)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
                  java/util/Deque.add(Ljava/lang/Object;)Z (9 itf)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            astore 1 /* listener */
        start local 1 // org.graalvm.polyglot.management.ExecutionListener listener
         1: .line 586
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         2: .line 588
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 589
            aload 1 /* listener */
            invokevirtual org.graalvm.polyglot.management.ExecutionListener.close:()V
         4: .line 591
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         5: .line 593
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         6: .line 594
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionListener listener
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    7     0      this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            1    7     1  listener  Lorg/graalvm/polyglot/management/ExecutionListener;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testParallelAttachDispose();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=8, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 598
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;)V
         1: .line 599
            bipush 10
            invokestatic java.util.concurrent.Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;
            astore 1 /* service */
        start local 1 // java.util.concurrent.ExecutorService service
         2: .line 600
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         3: .line 601
            aload 1 /* service */
            aload 0 /* this */
            invokedynamic call(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.lambda$30()Lorg/graalvm/polyglot/Source; (7)
                  ()Lorg/graalvm/polyglot/Source;
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
            astore 2 /* code */
        start local 2 // java.util.concurrent.Future code
         4: .line 603
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* attachTasks */
        start local 3 // java.util.List attachTasks
         5: .line 604
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         6: goto 10
         7: .line 605
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest java.util.concurrent.ExecutorService java.util.concurrent.Future java.util.List int
      StackMap stack:
            aload 1 /* service */
            aload 0 /* this */
            invokedynamic call(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.lambda$31()Lorg/graalvm/polyglot/management/ExecutionListener; (7)
                  ()Lorg/graalvm/polyglot/management/ExecutionListener;
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Future;
            astore 5 /* attachTask */
        start local 5 // java.util.concurrent.Future attachTask
         8: .line 607
            aload 3 /* attachTasks */
            aload 5 /* attachTask */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 5 // java.util.concurrent.Future attachTask
         9: .line 604
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* i */
            bipush 100
            if_icmplt 7
        end local 4 // int i
        11: .line 610
            ldc 100
            invokestatic java.lang.Thread.sleep:(J)V
        12: .line 612
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 4 /* closingTasks */
        start local 4 // java.util.List closingTasks
        13: .line 613
            aload 3 /* attachTasks */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 17
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest java.util.concurrent.ExecutorService java.util.concurrent.Future java.util.List java.util.List top java.util.Iterator
      StackMap stack:
        14: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 5 /* attachTask */
        start local 5 // java.util.concurrent.Future attachTask
        15: .line 614
            aload 5 /* attachTask */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionListener
            astore 7 /* listener */
        start local 7 // org.graalvm.polyglot.management.ExecutionListener listener
        16: .line 615
            aload 4 /* closingTasks */
            aload 1 /* service */
            aload 7 /* listener */
            invokedynamic run(Lorg/graalvm/polyglot/management/ExecutionListener;)Ljava/lang/Runnable;
              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:
                  ()V
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$33(Lorg/graalvm/polyglot/management/ExecutionListener;)V (6)
                  ()V
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 7 // org.graalvm.polyglot.management.ExecutionListener listener
        end local 5 // java.util.concurrent.Future attachTask
        17: .line 613
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 14
        18: .line 618
            aload 4 /* closingTasks */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 21
      StackMap locals:
      StackMap stack:
        19: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 5 /* task */
        start local 5 // java.util.concurrent.Future task
        20: .line 619
            aload 5 /* task */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
        end local 5 // java.util.concurrent.Future task
        21: .line 618
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 19
        22: .line 621
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$34(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
        23: .line 623
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        24: .line 626
            aload 2 /* code */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
        25: .line 627
            ldc "exception expected"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
        26: .line 628
            goto 30
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest java.util.concurrent.ExecutorService java.util.concurrent.Future java.util.List java.util.List
      StackMap stack: java.util.concurrent.ExecutionException
        27: astore 5 /* e */
        start local 5 // java.util.concurrent.ExecutionException e
        28: .line 629
            aload 5 /* e */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            instanceof org.graalvm.polyglot.PolyglotException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        29: .line 630
            aload 5 /* e */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            checkcast org.graalvm.polyglot.PolyglotException
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 5 // java.util.concurrent.ExecutionException e
        30: .line 633
      StackMap locals:
      StackMap stack:
            aload 1 /* service */
            invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
        31: .line 635
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        32: .line 636
            return
        end local 4 // java.util.List closingTasks
        end local 3 // java.util.List attachTasks
        end local 2 // java.util.concurrent.Future code
        end local 1 // java.util.concurrent.ExecutorService service
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   33     0          this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            2   33     1       service  Ljava/util/concurrent/ExecutorService;
            4   33     2          code  Ljava/util/concurrent/Future<*>;
            5   33     3   attachTasks  Ljava/util/List<Ljava/util/concurrent/Future<Lorg/graalvm/polyglot/management/ExecutionListener;>;>;
            6   11     4             i  I
            8    9     5    attachTask  Ljava/util/concurrent/Future<Lorg/graalvm/polyglot/management/ExecutionListener;>;
           13   33     4  closingTasks  Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
           15   17     5    attachTask  Ljava/util/concurrent/Future<Lorg/graalvm/polyglot/management/ExecutionListener;>;
           16   17     7      listener  Lorg/graalvm/polyglot/management/ExecutionListener;
           20   21     5          task  Ljava/util/concurrent/Future<*>;
           28   30     5             e  Ljava/util/concurrent/ExecutionException;
      Exception table:
        from    to  target  type
          24    26      27  Class java.util.concurrent.ExecutionException
    Exceptions:
      throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRootName();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 640
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 641
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$36(Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
         2: .line 640
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.rootNameFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         3: .line 641
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         4: .line 640
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         5: .line 642
            aload 0 /* this */
            ldc "DEFINE(foo, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         6: .line 643
            aload 0 /* this */
            ldc "DEFINE(bar, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         7: .line 644
            aload 0 /* this */
            ldc "DEFINE(baz, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         8: .line 646
            aload 0 /* this */
            ldc "CALL(foo)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         9: .line 647
            ldc "foo"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getRootName:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 648
            aload 0 /* this */
            ldc "CALL(bar)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        11: .line 649
            ldc "bar"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getRootName:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        12: .line 650
            aload 0 /* this */
            ldc "CALL(baz)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        13: .line 651
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testErrorInRootName();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 655
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 656
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$38(Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
         2: .line 655
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.rootNameFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         3: .line 658
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         4: .line 655
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            astore 1 /* listener */
        start local 1 // org.graalvm.polyglot.management.ExecutionListener listener
         5: .line 660
            aload 0 /* this */
            ldc "DEFINE(foo, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         6: .line 661
            aload 0 /* this */
            ldc "CALL(foo)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         7: .line 662
            invokestatic org.junit.Assert.fail:()V
         8: .line 663
            goto 11
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionListener
      StackMap stack: org.graalvm.polyglot.PolyglotException
         9: astore 3 /* e */
        start local 3 // org.graalvm.polyglot.PolyglotException e
        10: .line 664
            aload 3 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 3 // org.graalvm.polyglot.PolyglotException e
        11: .line 668
      StackMap locals:
      StackMap stack:
            aload 1 /* listener */
            invokevirtual org.graalvm.polyglot.management.ExecutionListener.close:()V
        12: .line 670
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$40(Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.rootNameFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            astore 3 /* builder */
        start local 3 // org.graalvm.polyglot.management.ExecutionListener$Builder builder
        13: .line 674
            aload 3 /* builder */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        14: .line 675
            invokestatic org.junit.Assert.fail:()V
        15: .line 676
            goto 18
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionListener top org.graalvm.polyglot.management.ExecutionListener$Builder
      StackMap stack: org.graalvm.polyglot.PolyglotException
        16: astore 5 /* e */
        start local 5 // org.graalvm.polyglot.PolyglotException e
        17: .line 677
            aload 5 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 5 // org.graalvm.polyglot.PolyglotException e
        18: .line 679
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.graalvm.polyglot.management.ExecutionListener$Builder builder
        end local 1 // org.graalvm.polyglot.management.ExecutionListener listener
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   19     0      this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            5   19     1  listener  Lorg/graalvm/polyglot/management/ExecutionListener;
           10   11     3         e  Lorg/graalvm/polyglot/PolyglotException;
           13   19     3   builder  Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
           17   18     5         e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           5     8       9  Class org.graalvm.polyglot.PolyglotException
          13    15      16  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testErrorInSourceFilter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 683
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 684
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$42(Lorg/graalvm/polyglot/Source;)Z (6)
                  (Lorg/graalvm/polyglot/Source;)Z
         2: .line 683
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.sourceFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         3: .line 686
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         4: .line 683
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            astore 1 /* listener */
        start local 1 // org.graalvm.polyglot.management.ExecutionListener listener
         5: .line 688
            aload 0 /* this */
            ldc "DEFINE(foo, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         6: .line 689
            invokestatic org.junit.Assert.fail:()V
         7: .line 690
            goto 10
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionListener
      StackMap stack: org.graalvm.polyglot.PolyglotException
         8: astore 3 /* e */
        start local 3 // org.graalvm.polyglot.PolyglotException e
         9: .line 691
            aload 3 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 3 // org.graalvm.polyglot.PolyglotException e
        10: .line 695
      StackMap locals:
      StackMap stack:
            aload 1 /* listener */
            invokevirtual org.graalvm.polyglot.management.ExecutionListener.close:()V
        11: .line 697
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;)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/ExecutionListenerTest.add(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (7)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$44(Lorg/graalvm/polyglot/Source;)Z (6)
                  (Lorg/graalvm/polyglot/Source;)Z
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.sourceFilter:(Ljava/util/function/Predicate;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            astore 3 /* builder */
        start local 3 // org.graalvm.polyglot.management.ExecutionListener$Builder builder
        12: .line 701
            aload 3 /* builder */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        13: .line 702
            invokestatic org.junit.Assert.fail:()V
        14: .line 703
            goto 17
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.management.ExecutionListener top org.graalvm.polyglot.management.ExecutionListener$Builder
      StackMap stack: org.graalvm.polyglot.PolyglotException
        15: astore 5 /* e */
        start local 5 // org.graalvm.polyglot.PolyglotException e
        16: .line 704
            aload 5 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 5 // org.graalvm.polyglot.PolyglotException e
        17: .line 706
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.graalvm.polyglot.management.ExecutionListener$Builder builder
        end local 1 // org.graalvm.polyglot.management.ExecutionListener listener
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0      this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            5   18     1  listener  Lorg/graalvm/polyglot/management/ExecutionListener;
            9   10     3         e  Lorg/graalvm/polyglot/PolyglotException;
           12   18     3   builder  Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
           16   17     5         e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           5     7       8  Class org.graalvm.polyglot.PolyglotException
          12    14      15  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testErrorInOnEnter();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 710
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$45(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 712
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 710
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         3: .line 715
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         4: .line 716
            invokestatic org.junit.Assert.fail:()V
         5: .line 717
            goto 8
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         6: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 718
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         8: .line 721
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$46(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         9: .line 723
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
        10: .line 721
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        11: .line 726
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        12: .line 727
            invokestatic org.junit.Assert.fail:()V
        13: .line 728
            goto 16
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
        14: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
        15: .line 729
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
        16: .line 731
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            7    8     1     e  Lorg/graalvm/polyglot/PolyglotException;
           15   16     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           3     5       6  Class org.graalvm.polyglot.PolyglotException
          11    13      14  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testErrorInOnReturn();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 735
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$47(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 737
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 735
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         3: .line 740
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         4: .line 741
            invokestatic org.junit.Assert.fail:()V
         5: .line 742
            goto 8
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         6: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 743
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         8: .line 746
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$48(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         9: .line 748
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
        10: .line 746
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        11: .line 751
            aload 0 /* this */
            ldc "EXPRESSION"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        12: .line 752
            invokestatic org.junit.Assert.fail:()V
        13: .line 753
            goto 16
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
        14: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
        15: .line 754
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
        16: .line 756
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   17     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            7    8     1     e  Lorg/graalvm/polyglot/PolyglotException;
           15   16     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           3     5       6  Class org.graalvm.polyglot.PolyglotException
          11    13      14  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testErrorInOnError();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 760
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$49(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 762
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 760
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         3: .line 765
            aload 0 /* this */
            ldc "TRY(EXPRESSION(THROW(error, message)), CATCH(error))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
         4: .line 766
            invokestatic org.junit.Assert.fail:()V
         5: .line 767
            goto 8
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         6: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
         7: .line 768
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
         8: .line 771
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$50(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onReturn:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         9: .line 773
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectExceptions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectInputValues:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.collectReturnValue:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
        10: .line 771
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupListener:(Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        11: .line 776
            aload 0 /* this */
            ldc "TRY(EXPRESSION(THROW(error, message)), CATCH(error))"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            pop
        12: .line 777
            invokestatic org.junit.Assert.fail:()V
        13: .line 778
            goto 18
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
        14: astore 1 /* e */
        start local 1 // org.graalvm.polyglot.PolyglotException e
        15: .line 779
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            instanceof java.lang.RuntimeException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        16: .line 780
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
            instanceof org.graalvm.polyglot.PolyglotException
            invokestatic org.junit.Assert.assertTrue:(Z)V
        17: .line 781
            ldc "message"
            aload 1 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.asHostException:()Ljava/lang/Throwable;
            invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
            checkcast org.graalvm.polyglot.PolyglotException
            invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        end local 1 // org.graalvm.polyglot.PolyglotException e
        18: .line 783
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            7    8     1     e  Lorg/graalvm/polyglot/PolyglotException;
           15   18     1     e  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           3     5       6  Class org.graalvm.polyglot.PolyglotException
          11    13      14  Class org.graalvm.polyglot.PolyglotException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInvalidBuilder();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 787
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            astore 1 /* ctx */
        start local 1 // org.graalvm.polyglot.Context ctx
         1: .line 789
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         2: .line 790
            invokestatic org.junit.Assert.fail:()V
         3: .line 791
            goto 5
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest org.graalvm.polyglot.Context
      StackMap stack: java.lang.IllegalArgumentException
         4: pop
         5: .line 795
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$51(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         6: .line 796
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
         7: .line 797
            invokestatic org.junit.Assert.fail:()V
         8: .line 798
            goto 10
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
         9: pop
        10: .line 802
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        11: .line 803
            invokestatic org.junit.Assert.fail:()V
        12: .line 804
            goto 14
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        13: pop
        14: .line 807
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        15: .line 808
            invokestatic org.junit.Assert.fail:()V
        16: .line 809
            goto 18
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        17: pop
        18: .line 813
      StackMap locals:
      StackMap stack:
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            pop
        19: .line 814
            invokestatic org.junit.Assert.fail:()V
        20: .line 815
            goto 22
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
        21: pop
        22: .line 817
      StackMap locals:
      StackMap stack:
            aload 1 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        23: .line 818
            return
        end local 1 // org.graalvm.polyglot.Context ctx
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   24     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            1   24     1   ctx  Lorg/graalvm/polyglot/Context;
      Exception table:
        from    to  target  type
           1     3       4  Class java.lang.IllegalArgumentException
           5     8       9  Class java.lang.IllegalArgumentException
          10    12      13  Class java.lang.IllegalArgumentException
          14    16      17  Class java.lang.IllegalArgumentException
          18    20      21  Class java.lang.IllegalArgumentException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testDifferentSourcesInAST();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 822
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 823
            ldc "abcd"
            astore 1 /* code */
        start local 1 // java.lang.String code
         2: .line 824
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* loadedCode */
        start local 2 // java.lang.StringBuilder loadedCode
         3: .line 825
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            getstatic com.oracle.truffle.api.instrumentation.SourceFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceFilter;
            aload 2 /* loadedCode */
            invokedynamic onExecute(Ljava/lang/StringBuilder;)Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$52(Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V (6)
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
            iconst_1
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecuteSourceListener:(Lcom/oracle/truffle/api/instrumentation/SourceFilter;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         4: .line 826
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            aload 1 /* code */
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 827
            new java.lang.StringBuilder
            dup
            aload 1 /* code */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* code */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* loadedCode */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 828
            return
        end local 2 // java.lang.StringBuilder loadedCode
        end local 1 // java.lang.String code
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            2    7     1        code  Ljava/lang/String;
            3    7     2  loadedCode  Ljava/lang/StringBuilder;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMaterializedSourcesInAST();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 832
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 833
            ldc "Mabcd"
            astore 1 /* code */
        start local 1 // java.lang.String code
         2: .line 834
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* loadedCode */
        start local 2 // java.lang.StringBuilder loadedCode
         3: .line 835
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            getstatic com.oracle.truffle.api.instrumentation.SourceFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceFilter;
            aload 2 /* loadedCode */
            invokedynamic onExecute(Ljava/lang/StringBuilder;)Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$53(Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V (6)
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
            iconst_1
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecuteSourceListener:(Lcom/oracle/truffle/api/instrumentation/SourceFilter;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         4: .line 836
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            aload 1 /* code */
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 838
            new java.lang.StringBuilder
            dup
            aload 1 /* code */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "M"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* loadedCode */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 840
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            getstatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            invokedynamic onLoad()Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionListener;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$54(Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V (6)
                  (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
         7: .line 841
            iconst_1
         8: .line 840
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceSectionListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         9: .line 842
            new java.lang.StringBuilder
            dup
            aload 1 /* code */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* code */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* loadedCode */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 843
            return
        end local 2 // java.lang.StringBuilder loadedCode
        end local 1 // java.lang.String code
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   11     0        this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            2   11     1        code  Ljava/lang/String;
            3   11     2  loadedCode  Ljava/lang/StringBuilder;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testInsertedSourcesInAST();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 847
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage.<init>:()V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 848
            ldc "Iabcd"
            astore 1 /* code */
        start local 1 // java.lang.String code
         2: .line 849
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 2 /* loadedCode */
        start local 2 // java.lang.StringBuilder loadedCode
         3: .line 850
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            getstatic com.oracle.truffle.api.instrumentation.SourceFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceFilter;
            aload 2 /* loadedCode */
            invokedynamic onExecute(Ljava/lang/StringBuilder;)Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
                  com/oracle/truffle/api/instrumentation/test/ExecutionListenerTest.lambda$55(Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V (6)
                  (Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
            iconst_1
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecuteSourceListener:(Lcom/oracle/truffle/api/instrumentation/SourceFilter;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         4: .line 851
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            aload 1 /* code */
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 852
            new java.lang.StringBuilder
            dup
            aload 1 /* code */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* code */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* loadedCode */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 853
            return
        end local 2 // java.lang.StringBuilder loadedCode
        end local 1 // java.lang.String code
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            2    7     1        code  Ljava/lang/String;
            3    7     2  loadedCode  Ljava/lang/StringBuilder;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private org.graalvm.polyglot.Source eval(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
        start local 1 // java.lang.String code
         0: .line 856
            ldc "Previous events are not consumed"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         1: .line 858
            ldc "instrumentation-test-language"
            aload 1 /* code */
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 2 /* source */
        start local 2 // org.graalvm.polyglot.Source source
         2: .line 859
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            aload 2 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 860
            aload 2 /* source */
            areturn
        end local 2 // org.graalvm.polyglot.Source source
        end local 1 // java.lang.String code
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            0    4     1    code  Ljava/lang/String;
            2    4     2  source  Lorg/graalvm/polyglot/Source;
    MethodParameters:
      Name  Flags
      code  

  private org.graalvm.polyglot.management.ExecutionListener setupListener(org.graalvm.polyglot.management.ExecutionListener$Builder);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionListener$Builder;)Lorg/graalvm/polyglot/management/ExecutionListener;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
        start local 1 // org.graalvm.polyglot.management.ExecutionListener$Builder listenerBuilder
         0: .line 864
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            astore 2 /* c */
        start local 2 // org.graalvm.polyglot.Context c
         1: .line 865
            aload 1 /* listenerBuilder */
            aload 2 /* c */
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            astore 3 /* listener */
        start local 3 // org.graalvm.polyglot.management.ExecutionListener listener
         2: .line 866
            aload 0 /* this */
            aload 2 /* c */
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;)V
         3: .line 867
            aload 3 /* listener */
            areturn
        end local 3 // org.graalvm.polyglot.management.ExecutionListener listener
        end local 2 // org.graalvm.polyglot.Context c
        end local 1 // org.graalvm.polyglot.management.ExecutionListener$Builder listenerBuilder
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
            0    4     1  listenerBuilder  Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            1    4     2                c  Lorg/graalvm/polyglot/Context;
            2    4     3         listener  Lorg/graalvm/polyglot/management/ExecutionListener;
    MethodParameters:
                 Name  Flags
      listenerBuilder  

  public void tearDown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 872
            ldc "Previous events are not consumed"
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
         1: .line 873
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  private static boolean lambda$28(org.graalvm.polyglot.Source);
    descriptor: (Lorg/graalvm/polyglot/Source;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Source s
         0: .line 568
            aload 0 /* s */
            invokevirtual org.graalvm.polyglot.Source.getName:()Ljava/lang/String;
            ldc "test1"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 0 // org.graalvm.polyglot.Source s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Lorg/graalvm/polyglot/Source;

  private org.graalvm.polyglot.Source lambda$30();
    descriptor: ()Lorg/graalvm/polyglot/Source;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 601
            aload 0 /* this */
            ldc "LOOP(infinity, EXPRESSION)"
            invokevirtual com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Source;
            areturn
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    Exceptions:
      throws java.lang.Exception

  private org.graalvm.polyglot.management.ExecutionListener lambda$31();
    descriptor: ()Lorg/graalvm/polyglot/management/ExecutionListener;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
         0: .line 605
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            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/ExecutionListenerTest.lambda$32(Lorg/graalvm/polyglot/management/ExecutionEvent;)V (6)
                  (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.onEnter:(Ljava/util/function/Consumer;)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         1: .line 606
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.attach:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/management/ExecutionListener;
            areturn
        end local 0 // com.oracle.truffle.api.instrumentation.test.ExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/instrumentation/test/ExecutionListenerTest;
    Exceptions:
      throws java.lang.Exception

  private static void lambda$33(org.graalvm.polyglot.management.ExecutionListener);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionListener;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 615
            aload 0
            invokevirtual org.graalvm.polyglot.management.ExecutionListener.close:()V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$34(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 622
            new java.lang.RuntimeException
            dup
            ldc ""
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static boolean lambda$36(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 641
            aload 0 /* s */
            ldc "foo"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 1
            aload 0 /* s */
            ldc "bar"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     s  Ljava/lang/String;

  private static boolean lambda$38(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 657
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;

  private static boolean lambda$40(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 671
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;

  private static boolean lambda$42(org.graalvm.polyglot.Source);
    descriptor: (Lorg/graalvm/polyglot/Source;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Source s
         0: .line 685
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.Source s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Lorg/graalvm/polyglot/Source;

  private static boolean lambda$44(org.graalvm.polyglot.Source);
    descriptor: (Lorg/graalvm/polyglot/Source;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Source s
         0: .line 698
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.Source s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Lorg/graalvm/polyglot/Source;

  private static void lambda$45(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 711
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$46(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 722
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$47(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 736
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$48(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 747
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$49(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 761
            new java.lang.RuntimeException
            dup
            invokespecial java.lang.RuntimeException.<init>:()V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$50(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 772
            new java.lang.RuntimeException
            dup
            aload 0 /* e */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getException:()Lorg/graalvm/polyglot/PolyglotException;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$51(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 796
            return
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;

  private static void lambda$52(java.lang.StringBuilder, com.oracle.truffle.api.instrumentation.ExecuteSourceEvent);
    descriptor: (Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
         0: .line 825
            aload 0
            aload 1 /* s */
            invokevirtual com.oracle.truffle.api.instrumentation.ExecuteSourceEvent.getSource:()Lcom/oracle/truffle/api/source/Source;
            invokevirtual com.oracle.truffle.api.source.Source.getCharacters:()Ljava/lang/CharSequence;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            return
        end local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     s  Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;

  private static void lambda$53(java.lang.StringBuilder, com.oracle.truffle.api.instrumentation.ExecuteSourceEvent);
    descriptor: (Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
         0: .line 835
            aload 0
            aload 1 /* s */
            invokevirtual com.oracle.truffle.api.instrumentation.ExecuteSourceEvent.getSource:()Lcom/oracle/truffle/api/source/Source;
            invokevirtual com.oracle.truffle.api.source.Source.getCharacters:()Ljava/lang/CharSequence;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            return
        end local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     s  Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;

  private static void lambda$54(com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent e
         0: .line 841
            return
        end local 0 // com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;

  private static void lambda$55(java.lang.StringBuilder, com.oracle.truffle.api.instrumentation.ExecuteSourceEvent);
    descriptor: (Ljava/lang/StringBuilder;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
         0: .line 850
            aload 0
            aload 1 /* s */
            invokevirtual com.oracle.truffle.api.instrumentation.ExecuteSourceEvent.getSource:()Lcom/oracle/truffle/api/source/Source;
            invokevirtual com.oracle.truffle.api.source.Source.getCharacters:()Ljava/lang/CharSequence;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            return
        end local 1 // com.oracle.truffle.api.instrumentation.ExecuteSourceEvent s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     1     s  Lcom/oracle/truffle/api/instrumentation/ExecuteSourceEvent;

  private static void lambda$32(org.graalvm.polyglot.management.ExecutionEvent);
    descriptor: (Lorg/graalvm/polyglot/management/ExecutionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 606
            return
        end local 0 // org.graalvm.polyglot.management.ExecutionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lorg/graalvm/polyglot/management/ExecutionEvent;
}
SourceFile: "ExecutionListenerTest.java"
InnerClasses:
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  MultiSourceASTLanguage = com.oracle.truffle.api.instrumentation.test.SourceListenerTest$MultiSourceASTLanguage of com.oracle.truffle.api.instrumentation.test.SourceListenerTest
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final StackFrame = org.graalvm.polyglot.PolyglotException$StackFrame of org.graalvm.polyglot.PolyglotException
  public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source
  public final Builder = org.graalvm.polyglot.management.ExecutionListener$Builder of org.graalvm.polyglot.management.ExecutionListener