public class com.oracle.truffle.sl.test.SLExecutionListenerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.sl.test.SLExecutionListenerTest
  super_class: java.lang.Object
{
  private org.graalvm.polyglot.Context context;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE

  private final java.util.Deque<org.graalvm.polyglot.management.ExecutionEvent> events;
    descriptor: Ljava/util/Deque;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Deque<Lorg/graalvm/polyglot/management/ExecutionEvent;>;

  private java.lang.String expectedRootName;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

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

  public void setUp();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 69
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
         1: .line 70
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void tearDown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 74
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         1: .line 75
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         2: .line 76
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
         3: .line 77
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  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.sl.test.SLExecutionListenerTest this
        start local 1 // org.graalvm.polyglot.management.ExecutionEvent e
         0: .line 80
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.events:Ljava/util/Deque;
            aload 1 /* e */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
         1: .line 81
            return
        end local 1 // org.graalvm.polyglot.management.ExecutionEvent e
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    2     1     e  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
      Name  Flags
      e     

  public void testRootsAndStatements();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 85
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         1: .line 86
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 87
            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;
         3: .line 88
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         4: .line 90
            aload 0 /* this */
            ldc "return 2;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 92
            aload 0 /* this */
            ldc "return 2;"
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.rootSourceSection:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterRoot:(Ljava/lang/String;)V
         6: .line 93
            aload 0 /* this */
            ldc "return 2"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         7: .line 94
            aload 0 /* this */
            ldc "return 2"
            aconst_null
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         8: .line 95
            aload 0 /* this */
            ldc "return 2;"
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.rootSourceSection:(Ljava/lang/String;)Ljava/lang/String;
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveRoot:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         9: .line 96
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testStatements();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 100
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         1: .line 101
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.statements:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 102
            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;
         3: .line 103
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         4: .line 105
            aload 0 /* this */
            ldc "2 + 3;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 106
            aload 0 /* this */
            ldc "2 + 3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         6: .line 107
            aload 0 /* this */
            ldc "2 + 3"
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         7: .line 109
            aload 0 /* this */
            ldc "2 + 3; 3 + 6;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         8: .line 110
            aload 0 /* this */
            ldc "2 + 3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         9: .line 111
            aload 0 /* this */
            ldc "2 + 3"
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        10: .line 112
            aload 0 /* this */
            ldc "3 + 6"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
        11: .line 113
            aload 0 /* this */
            ldc "3 + 6"
            bipush 9
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        12: .line 114
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testExpressions();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 118
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         1: .line 119
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.expressions:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 120
            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;
         3: .line 121
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         4: .line 122
            aload 0 /* this */
            ldc "2 + 3;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 124
            aload 0 /* this */
            ldc "2 + 3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         6: .line 125
            aload 0 /* this */
            ldc "2"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         7: .line 126
            aload 0 /* this */
            ldc "2"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         8: .line 127
            aload 0 /* this */
            ldc "3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         9: .line 128
            aload 0 /* this */
            ldc "3"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        10: .line 129
            aload 0 /* this */
            ldc "2 + 3"
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        11: .line 130
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRoots();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 134
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         1: .line 135
            iconst_1
            invokevirtual org.graalvm.polyglot.management.ExecutionListener$Builder.roots:(Z)Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
         2: .line 136
            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;
         3: .line 137
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         4: .line 139
            aload 0 /* this */
            ldc "return 2;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 141
            aload 0 /* this */
            ldc "return 2;"
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.rootSourceSection:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterRoot:(Ljava/lang/String;)V
         6: .line 142
            aload 0 /* this */
            ldc "return 2;"
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.rootSourceSection:(Ljava/lang/String;)Ljava/lang/String;
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveRoot:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         7: .line 143
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testExpressionsStatementsAndRoots();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 147
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         1: .line 148
            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;
         2: .line 149
            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;
         3: .line 150
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         4: .line 152
            aload 0 /* this */
            ldc "2 + 3;"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.eval:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 154
            aload 0 /* this */
            ldc "2 + 3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         6: .line 155
            aload 0 /* this */
            ldc "2"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         7: .line 156
            aload 0 /* this */
            ldc "2"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         8: .line 157
            aload 0 /* this */
            ldc "3"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         9: .line 158
            aload 0 /* this */
            ldc "3"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        10: .line 159
            aload 0 /* this */
            ldc "2 + 3"
            iconst_5
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        11: .line 160
            return
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testFactorial();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
         0: .line 166
            ldc "fac(n) {  if (n <= 1) {    return 1;  }  return fac(n - 1) * n;}"
         1: .line 165
            astore 1 /* characters */
        start local 1 // java.lang.String characters
         2: .line 173
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "sl"
            new java.lang.StringBuilder
            dup
            ldc "function "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* characters */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 174
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "sl"
            invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            ldc "fac"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            astore 2 /* factorial */
        start local 2 // org.graalvm.polyglot.Value factorial
         4: .line 175
            invokestatic org.graalvm.polyglot.management.ExecutionListener.newBuilder:()Lorg/graalvm/polyglot/management/ExecutionListener$Builder;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
            aload 0 /* this */
            invokedynamic accept(Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;)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/sl/test/SLExecutionListenerTest.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;
         5: .line 176
            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;
         6: .line 177
            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;
         7: .line 178
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.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
         8: .line 179
            aload 0 /* this */
            ldc "fac"
            putfield com.oracle.truffle.sl.test.SLExecutionListenerTest.expectedRootName:Ljava/lang/String;
         9: .line 180
            lconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        10: .line 181
            iconst_0
            istore 5 /* i */
        start local 5 // int i
        11: goto 14
        12: .line 182
      StackMap locals: com.oracle.truffle.sl.test.SLExecutionListenerTest java.lang.String org.graalvm.polyglot.Value top top int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* characters */
            aload 2 /* factorial */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.testFactorial:(Ljava/lang/String;Lorg/graalvm/polyglot/Value;)V
        13: .line 181
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
        14: iload 5 /* i */
            bipush 10
            if_icmplt 12
        end local 5 // int i
        15: .line 184
            return
        end local 2 // org.graalvm.polyglot.Value factorial
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   16     0        this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            2   16     1  characters  Ljava/lang/String;
            4   16     2   factorial  Lorg/graalvm/polyglot/Value;
           11   15     5           i  I
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private org.graalvm.polyglot.Value eval(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String s
         0: .line 187
            aload 0 /* this */
            ldc "wrapper"
            putfield com.oracle.truffle.sl.test.SLExecutionListenerTest.expectedRootName:Ljava/lang/String;
         1: .line 188
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "sl"
            aload 1 /* s */
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.wrapInFunction:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 189
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "sl"
            invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            ldc "wrapper"
            invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            areturn
        end local 1 // java.lang.String s
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    3     1     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  private static java.lang.String wrapInFunction(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 193
            new java.lang.StringBuilder
            dup
            ldc "function "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* s */
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.rootSourceSection:(Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  private static java.lang.String rootSourceSection(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 197
            new java.lang.StringBuilder
            dup
            ldc "wrapper() {\n  "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* s */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " \n}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     s  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      s     

  private void testFactorial(java.lang.String, org.graalvm.polyglot.Value);
    descriptor: (Ljava/lang/String;Lorg/graalvm/polyglot/Value;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
        start local 2 // org.graalvm.polyglot.Value factorial
         0: .line 201
            aload 2 /* factorial */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            pop
         1: .line 202
            aload 0 /* this */
            aload 1 /* characters */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterRoot:(Ljava/lang/String;)V
         2: .line 203
            aload 0 /* this */
            ldc "n <= 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         3: .line 204
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         4: .line 205
            aload 0 /* this */
            ldc "n"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         5: .line 206
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
         6: .line 207
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         7: .line 208
            aload 0 /* this */
            ldc "n <= 1"
            iconst_0
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
         8: .line 209
            aload 0 /* this */
            ldc "return fac(n - 1) * n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
         9: .line 210
            aload 0 /* this */
            ldc "fac(n - 1) * n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        10: .line 211
            aload 0 /* this */
            ldc "fac(n - 1)"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        11: .line 212
            aload 0 /* this */
            ldc "fac"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        12: .line 213
            aload 0 /* this */
            ldc "fac"
            aload 2 /* factorial */
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        13: .line 214
            aload 0 /* this */
            ldc "n - 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        14: .line 215
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        15: .line 216
            aload 0 /* this */
            ldc "n"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        16: .line 217
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        17: .line 218
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        18: .line 219
            aload 0 /* this */
            ldc "n - 1"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        19: .line 221
            aload 0 /* this */
            aload 1 /* characters */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterRoot:(Ljava/lang/String;)V
        20: .line 222
            aload 0 /* this */
            ldc "n <= 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
        21: .line 223
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        22: .line 224
            aload 0 /* this */
            ldc "n"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        23: .line 225
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        24: .line 226
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        25: .line 227
            aload 0 /* this */
            ldc "n <= 1"
            iconst_0
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        26: .line 228
            aload 0 /* this */
            ldc "return fac(n - 1) * n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
        27: .line 229
            aload 0 /* this */
            ldc "fac(n - 1) * n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        28: .line 230
            aload 0 /* this */
            ldc "fac(n - 1)"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        29: .line 231
            aload 0 /* this */
            ldc "fac"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        30: .line 232
            aload 0 /* this */
            ldc "fac"
            aload 2 /* factorial */
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        31: .line 233
            aload 0 /* this */
            ldc "n - 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        32: .line 234
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        33: .line 235
            aload 0 /* this */
            ldc "n"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        34: .line 236
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        35: .line 237
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        36: .line 238
            aload 0 /* this */
            ldc "n - 1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        37: .line 240
            aload 0 /* this */
            aload 1 /* characters */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterRoot:(Ljava/lang/String;)V
        38: .line 241
            aload 0 /* this */
            ldc "n <= 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
        39: .line 242
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        40: .line 243
            aload 0 /* this */
            ldc "n"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        41: .line 244
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        42: .line 245
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        43: .line 246
            aload 0 /* this */
            ldc "n <= 1"
            iconst_1
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        44: .line 247
            aload 0 /* this */
            ldc "return 1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterStatement:(Ljava/lang/String;)V
        45: .line 248
            aload 0 /* this */
            ldc "1"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        46: .line 249
            aload 0 /* this */
            ldc "1"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        47: .line 250
            aload 0 /* this */
            ldc "return 1"
            aconst_null
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        48: .line 251
            aload 0 /* this */
            aload 1 /* characters */
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveRoot:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        49: .line 253
            aload 0 /* this */
            ldc "fac(n - 1)"
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* factorial */
            aastore
            dup
            iconst_1
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        50: .line 254
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        51: .line 255
            aload 0 /* this */
            ldc "n"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        52: .line 256
            aload 0 /* this */
            ldc "fac(n - 1) * n"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_1
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        53: .line 257
            aload 0 /* this */
            ldc "return fac(n - 1) * n"
            aconst_null
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        54: .line 258
            aload 0 /* this */
            aload 1 /* characters */
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveRoot:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        55: .line 260
            aload 0 /* this */
            ldc "fac(n - 1)"
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* factorial */
            aastore
            dup
            iconst_1
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        56: .line 261
            aload 0 /* this */
            ldc "n"
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.enterExpression:(Ljava/lang/String;)V
        57: .line 262
            aload 0 /* this */
            ldc "n"
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        58: .line 263
            aload 0 /* this */
            ldc "fac(n - 1) * n"
            bipush 6
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_2
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iconst_3
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveExpression:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        59: .line 264
            aload 0 /* this */
            ldc "return fac(n - 1) * n"
            aconst_null
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            bipush 6
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveStatement:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        60: .line 265
            aload 0 /* this */
            aload 1 /* characters */
            bipush 6
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.leaveRoot:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
        61: .line 267
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        62: .line 268
            return
        end local 2 // org.graalvm.polyglot.Value factorial
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   63     0        this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0   63     1  characters  Ljava/lang/String;
            0   63     2   factorial  Lorg/graalvm/polyglot/Value;
    MethodParameters:
            Name  Flags
      characters  
      factorial   

  private void enterExpression(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
         0: .line 271
            aload 0 /* this */
            aload 1 /* characters */
            aconst_null
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 2 /* event */
        start local 2 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 272
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 273
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 274
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         4: .line 275
            return
        end local 2 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    5     1  characters  Ljava/lang/String;
            1    5     2       event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
            Name  Flags
      characters  

  private void enterStatement(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
         0: .line 278
            aload 0 /* this */
            aload 1 /* characters */
            aconst_null
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 2 /* event */
        start local 2 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 279
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 281
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 282
            return
        end local 2 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    4     1  characters  Ljava/lang/String;
            1    4     2       event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
            Name  Flags
      characters  

  private void enterRoot(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
         0: .line 285
            aload 0 /* this */
            aload 1 /* characters */
            aconst_null
            iconst_0
            anewarray java.lang.Object
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 2 /* event */
        start local 2 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 286
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 287
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 288
            aload 2 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         4: .line 289
            return
        end local 2 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    5     1  characters  Ljava/lang/String;
            1    5     2       event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
            Name  Flags
      characters  

  private void leaveExpression(java.lang.String, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
        start local 2 // java.lang.Object returnValue
        start local 3 // java.lang.Object[] inputs
         0: .line 292
            aload 0 /* this */
            aload 1 /* characters */
            aload 2 /* returnValue */
            aload 3 /* inputs */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 4 /* event */
        start local 4 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 293
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 294
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 295
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         4: .line 296
            return
        end local 4 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 3 // java.lang.Object[] inputs
        end local 2 // java.lang.Object returnValue
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    5     1   characters  Ljava/lang/String;
            0    5     2  returnValue  Ljava/lang/Object;
            0    5     3       inputs  [Ljava/lang/Object;
            1    5     4        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
             Name  Flags
      characters   
      returnValue  
      inputs       

  private void leaveStatement(java.lang.String, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
        start local 2 // java.lang.Object returnValue
        start local 3 // java.lang.Object[] inputs
         0: .line 299
            aload 0 /* this */
            aload 1 /* characters */
            aload 2 /* returnValue */
            aload 3 /* inputs */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 4 /* event */
        start local 4 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 300
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 302
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 303
            return
        end local 4 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 3 // java.lang.Object[] inputs
        end local 2 // java.lang.Object returnValue
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    4     1   characters  Ljava/lang/String;
            0    4     2  returnValue  Ljava/lang/Object;
            0    4     3       inputs  [Ljava/lang/Object;
            1    4     4        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
             Name  Flags
      characters   
      returnValue  
      inputs       

  private void leaveRoot(java.lang.String, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
        start local 2 // java.lang.Object returnValue
        start local 3 // java.lang.Object[] inputs
         0: .line 306
            aload 0 /* this */
            aload 1 /* characters */
            aload 2 /* returnValue */
            aload 3 /* inputs */
            invokevirtual com.oracle.truffle.sl.test.SLExecutionListenerTest.assertEvent:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            astore 4 /* event */
        start local 4 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 307
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isRoot:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 308
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isStatement:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 309
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.isExpression:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         4: .line 310
            return
        end local 4 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 3 // java.lang.Object[] inputs
        end local 2 // java.lang.Object returnValue
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0    5     1   characters  Ljava/lang/String;
            0    5     2  returnValue  Ljava/lang/Object;
            0    5     3       inputs  [Ljava/lang/Object;
            1    5     4        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
    MethodParameters:
             Name  Flags
      characters   
      returnValue  
      inputs       

  private org.graalvm.polyglot.management.ExecutionEvent assertEvent(java.lang.String, java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
        start local 1 // java.lang.String characters
        start local 2 // java.lang.Object returnValue
        start local 3 // java.lang.Object[] inputs
         0: .line 313
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.events:Ljava/util/Deque;
            invokeinterface java.util.Deque.pop:()Ljava/lang/Object;
            checkcast org.graalvm.polyglot.management.ExecutionEvent
            astore 4 /* event */
        start local 4 // org.graalvm.polyglot.management.ExecutionEvent event
         1: .line 314
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLExecutionListenerTest.expectedRootName:Ljava/lang/String;
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getRootName:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         2: .line 315
            aload 1 /* characters */
            aload 4 /* 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
         3: .line 316
            aload 3 /* inputs */
            arraylength
            i2l
            aload 4 /* 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
         4: .line 317
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         5: goto 8
         6: .line 318
      StackMap locals: org.graalvm.polyglot.management.ExecutionEvent int
      StackMap stack:
            aload 3 /* inputs */
            iload 5 /* i */
            aaload
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getInputValues:()Ljava/util/List;
            iload 5 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Value
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.assertValue:(Ljava/lang/Object;Lorg/graalvm/polyglot/Value;)V
         7: .line 317
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 5 /* i */
            aload 3 /* inputs */
            arraylength
            if_icmplt 6
        end local 5 // int i
         9: .line 321
            aload 2 /* returnValue */
            ifnonnull 12
        10: .line 322
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNull:(Ljava/lang/Object;)V
        11: .line 323
            goto 13
        12: .line 324
      StackMap locals:
      StackMap stack:
            aload 2 /* returnValue */
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.getReturnValue:()Lorg/graalvm/polyglot/Value;
            invokestatic com.oracle.truffle.sl.test.SLExecutionListenerTest.assertValue:(Ljava/lang/Object;Lorg/graalvm/polyglot/Value;)V
        13: .line 327
      StackMap locals:
      StackMap stack:
            aload 4 /* event */
            invokevirtual org.graalvm.polyglot.management.ExecutionEvent.toString:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        14: .line 328
            aload 4 /* event */
            areturn
        end local 4 // org.graalvm.polyglot.management.ExecutionEvent event
        end local 3 // java.lang.Object[] inputs
        end local 2 // java.lang.Object returnValue
        end local 1 // java.lang.String characters
        end local 0 // com.oracle.truffle.sl.test.SLExecutionListenerTest this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   15     0         this  Lcom/oracle/truffle/sl/test/SLExecutionListenerTest;
            0   15     1   characters  Ljava/lang/String;
            0   15     2  returnValue  Ljava/lang/Object;
            0   15     3       inputs  [Ljava/lang/Object;
            1   15     4        event  Lorg/graalvm/polyglot/management/ExecutionEvent;
            5    9     5            i  I
    MethodParameters:
             Name  Flags
      characters   
      returnValue  
      inputs       

  private static void assertValue(java.lang.Object, org.graalvm.polyglot.Value);
    descriptor: (Ljava/lang/Object;Lorg/graalvm/polyglot/Value;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.lang.Object expected
        start local 1 // org.graalvm.polyglot.Value actual
         0: .line 332
            aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
            ifeq 3
         1: .line 333
            aload 0 /* expected */
            aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         2: .line 334
            goto 10
      StackMap locals:
      StackMap stack:
         3: aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.isBoolean:()Z
            ifeq 6
         4: .line 335
            aload 0 /* expected */
            aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         5: .line 336
            goto 10
      StackMap locals:
      StackMap stack:
         6: aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.canExecute:()Z
            ifeq 9
         7: .line 337
            aload 0 /* expected */
            checkcast org.graalvm.polyglot.Value
            invokevirtual org.graalvm.polyglot.Value.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            aload 1 /* actual */
            invokevirtual org.graalvm.polyglot.Value.getSourceLocation:()Lorg/graalvm/polyglot/SourceSection;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         8: .line 338
            goto 10
         9: .line 339
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            aload 0 /* expected */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        10: .line 341
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.graalvm.polyglot.Value actual
        end local 0 // java.lang.Object expected
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0  expected  Ljava/lang/Object;
            0   11     1    actual  Lorg/graalvm/polyglot/Value;
    Exceptions:
      throws java.lang.AssertionError
    MethodParameters:
          Name  Flags
      expected  
      actual    
}
SourceFile: "SLExecutionListenerTest.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Builder = org.graalvm.polyglot.management.ExecutionListener$Builder of org.graalvm.polyglot.management.ExecutionListener