final class com.oracle.truffle.llvm.tests.debug.TraceWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.llvm.tests.debug.TraceWriter
  super_class: java.lang.Object
{
  private static final java.lang.String INDENT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "    "

  private final java.io.BufferedWriter writer;
    descriptor: Ljava/io/BufferedWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private int indentLevel;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void write(com.oracle.truffle.llvm.tests.debug.Trace, java.nio.file.Path);
    descriptor: (Lcom/oracle/truffle/llvm/tests/debug/Trace;Ljava/nio/file/Path;)V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.Trace trace
        start local 1 // java.nio.file.Path path
         0: .line 40
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: new java.io.BufferedWriter
            dup
            new java.io.FileWriter
            dup
            aload 1 /* path */
            invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
            invokespecial java.io.FileWriter.<init>:(Ljava/io/File;)V
            invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
            astore 4 /* writer */
        start local 4 // java.io.BufferedWriter writer
         2: .line 41
            new com.oracle.truffle.llvm.tests.debug.TraceWriter
            dup
            aload 4 /* writer */
            invokespecial com.oracle.truffle.llvm.tests.debug.TraceWriter.<init>:(Ljava/io/BufferedWriter;)V
            astore 5 /* traceWriter */
        start local 5 // com.oracle.truffle.llvm.tests.debug.TraceWriter traceWriter
         3: .line 42
            aload 5 /* traceWriter */
            aload 0 /* trace */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitTrace:(Lcom/oracle/truffle/llvm/tests/debug/Trace;)V
         4: .line 43
            aload 4 /* writer */
            invokevirtual java.io.BufferedWriter.flush:()V
        end local 5 // com.oracle.truffle.llvm.tests.debug.TraceWriter traceWriter
         5: .line 45
            aload 4 /* writer */
            ifnull 13
            aload 4 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
            goto 13
      StackMap locals: com.oracle.truffle.llvm.tests.debug.Trace java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
      StackMap stack: java.lang.Throwable
         6: astore 2
            aload 4 /* writer */
            ifnull 7
            aload 4 /* writer */
            invokevirtual java.io.BufferedWriter.close:()V
        end local 4 // java.io.BufferedWriter writer
      StackMap locals:
      StackMap stack:
         7: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 3
            aload 2
            ifnonnull 9
            aload 3
            astore 2
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 2
            aload 3
            if_acmpeq 10
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        10: aload 2
            athrow
      StackMap locals: com.oracle.truffle.llvm.tests.debug.Trace java.nio.file.Path
      StackMap stack: java.io.IOException
        11: astore 2 /* e */
        start local 2 // java.io.IOException e
        12: .line 46
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "Error while writing trace to file: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.io.IOException e
        13: .line 48
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.nio.file.Path path
        end local 0 // com.oracle.truffle.llvm.tests.debug.Trace trace
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0        trace  Lcom/oracle/truffle/llvm/tests/debug/Trace;
            0   14     1         path  Ljava/nio/file/Path;
            2    7     4       writer  Ljava/io/BufferedWriter;
            3    5     5  traceWriter  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
           12   13     2            e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     5       6  any
           1     8       8  any
           0    11      11  Class java.io.IOException
    MethodParameters:
       Name  Flags
      trace  
      path   

  private void <init>(java.io.BufferedWriter);
    descriptor: (Ljava/io/BufferedWriter;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // java.io.BufferedWriter writer
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 56
            aload 0 /* this */
            aload 1 /* writer */
            putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
         2: .line 57
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
         3: .line 58
            return
        end local 1 // java.io.BufferedWriter writer
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0    4     1  writer  Ljava/io/BufferedWriter;
    MethodParameters:
        Name  Flags
      writer  

  private void emitTrace(com.oracle.truffle.llvm.tests.debug.Trace);
    descriptor: (Lcom/oracle/truffle/llvm/tests/debug/Trace;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // com.oracle.truffle.llvm.tests.debug.Trace trace
         0: .line 61
            aload 1 /* trace */
            invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.getHeader:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* line */
        start local 2 // java.lang.String line
         2: .line 62
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            aload 2 /* line */
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         3: .line 63
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            invokevirtual java.io.BufferedWriter.newLine:()V
        end local 2 // java.lang.String line
         4: .line 61
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 66
            aload 1 /* trace */
            invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.suspendOnEntry:()Z
            ifeq 9
         6: .line 67
            aload 0 /* this */
            ldc "SUSPEND"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
         7: .line 68
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
         8: .line 69
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
         9: .line 72
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace
      StackMap stack:
            aload 1 /* trace */
            invokevirtual com.oracle.truffle.llvm.tests.debug.Trace.iterator:()Ljava/util/Iterator;
            astore 3
            goto 12
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.Trace top java.util.Iterator
      StackMap stack:
        10: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.tests.debug.StopRequest
            astore 2 /* stop */
        start local 2 // com.oracle.truffle.llvm.tests.debug.StopRequest stop
        11: .line 73
            aload 0 /* this */
            aload 2 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitStop:(Lcom/oracle/truffle/llvm/tests/debug/StopRequest;)V
        end local 2 // com.oracle.truffle.llvm.tests.debug.StopRequest stop
        12: .line 72
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        13: .line 75
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
        14: .line 76
            return
        end local 1 // com.oracle.truffle.llvm.tests.debug.Trace trace
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0   this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0   15     1  trace  Lcom/oracle/truffle/llvm/tests/debug/Trace;
            2    4     2   line  Ljava/lang/String;
           11   12     2   stop  Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      trace  

  private void emitStop(com.oracle.truffle.llvm.tests.debug.StopRequest);
    descriptor: (Lcom/oracle/truffle/llvm/tests/debug/StopRequest;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // com.oracle.truffle.llvm.tests.debug.StopRequest stop
         0: .line 79
            aload 0 /* this */
            aload 1 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.needsBreakPoint:()Z
            ifeq 1
            ldc "BREAK"
            goto 2
      StackMap locals:
      StackMap stack: com.oracle.truffle.llvm.tests.debug.TraceWriter
         1: ldc "STOP"
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest
      StackMap stack: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String
         2: invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
         3: .line 80
            aload 0 /* this */
            aload 1 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getLine:()I
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
         4: .line 81
            aload 0 /* this */
            aload 1 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getNextAction:()Lcom/oracle/truffle/llvm/tests/debug/ContinueStrategy;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
         5: .line 82
            aload 0 /* this */
            aload 1 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.getFunctionName:()Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
         6: .line 84
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
         7: .line 85
            aload 1 /* stop */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest top java.util.Iterator
      StackMap stack:
         8: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.tests.debug.StopRequest$Scope
            astore 2 /* scope */
        start local 2 // com.oracle.truffle.llvm.tests.debug.StopRequest$Scope scope
         9: .line 86
            aload 0 /* this */
            aload 2 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitScope:(Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;)V
        end local 2 // com.oracle.truffle.llvm.tests.debug.StopRequest$Scope scope
        10: .line 85
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 88
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
        12: .line 89
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
        13: .line 90
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
        14: .line 91
            return
        end local 1 // com.oracle.truffle.llvm.tests.debug.StopRequest stop
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0   this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0   15     1   stop  Lcom/oracle/truffle/llvm/tests/debug/StopRequest;
            9   10     2  scope  Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      stop  

  private void emitScope(com.oracle.truffle.llvm.tests.debug.StopRequest$Scope);
    descriptor: (Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // com.oracle.truffle.llvm.tests.debug.StopRequest$Scope scope
         0: .line 94
            aload 0 /* this */
            ldc "OPEN_SCOPE"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
         1: .line 95
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
            ifnull 3
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 3
         2: .line 96
            aload 0 /* this */
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getName:()Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
         3: .line 98
      StackMap locals:
      StackMap stack:
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.isPartial:()Z
            ifeq 5
         4: .line 99
            aload 0 /* this */
            ldc "partial"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
         5: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
         6: .line 103
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getLocals:()Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 9
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter com.oracle.truffle.llvm.tests.debug.StopRequest$Scope top java.util.Iterator
      StackMap stack:
         7: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 2 /* name */
        start local 2 // java.lang.String name
         8: .line 104
            aload 0 /* this */
            aload 2 /* name */
            aload 1 /* scope */
            invokevirtual com.oracle.truffle.llvm.tests.debug.StopRequest$Scope.getLocals:()Ljava/util/Map;
            aload 2 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitMember:(Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
        end local 2 // java.lang.String name
         9: .line 103
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        10: .line 106
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
        11: .line 107
            return
        end local 1 // com.oracle.truffle.llvm.tests.debug.StopRequest$Scope scope
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   12     0   this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0   12     1  scope  Lcom/oracle/truffle/llvm/tests/debug/StopRequest$Scope;
            8    9     2   name  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      scope  

  private void emitMember(java.lang.String, com.oracle.truffle.llvm.tests.debug.LLVMDebugValue);
    descriptor: (Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // java.lang.String name
        start local 2 // com.oracle.truffle.llvm.tests.debug.LLVMDebugValue value
         0: .line 110
            aload 0 /* this */
            ldc "MEMBER"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
         1: .line 111
            aload 0 /* this */
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getKind:()Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
         2: .line 112
            aload 0 /* this */
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedType:()Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
         3: .line 113
            aload 0 /* this */
            aload 1 /* name */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
         4: .line 115
            aload 2 /* value */
            instanceof com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured
            ifeq 16
         5: .line 116
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.isBuggy:()Z
            ifeq 7
         6: .line 117
            aload 0 /* this */
            ldc "buggy"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
         7: .line 120
      StackMap locals:
      StackMap stack:
            aload 2 /* value */
            checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured
            astore 3 /* structured */
        start local 3 // com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured structured
         8: .line 122
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.addIndentation:()V
         9: .line 123
            aload 3 /* structured */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.getExpectedMembers:()Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 5
            goto 12
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String com.oracle.truffle.llvm.tests.debug.LLVMDebugValue com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured top java.util.Iterator
      StackMap stack:
        10: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 4 /* memberName */
        start local 4 // java.lang.String memberName
        11: .line 124
            aload 0 /* this */
            aload 4 /* memberName */
            aload 3 /* structured */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured.getExpectedMembers:()Ljava/util/Map;
            aload 4 /* memberName */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.emitMember:(Ljava/lang/String;Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;)V
        end local 4 // java.lang.String memberName
        12: .line 123
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 10
        13: .line 126
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.dropIndentation:()V
        14: .line 128
            aload 0 /* this */
            ldc "END_MEMBERS"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:(Ljava/lang/String;)V
        end local 3 // com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured structured
        15: .line 130
            goto 20
        16: .line 131
      StackMap locals: com.oracle.truffle.llvm.tests.debug.TraceWriter java.lang.String com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
      StackMap stack:
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedDisplayValue:()Ljava/lang/String;
            ifnull 18
        17: .line 132
            aload 0 /* this */
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.getExpectedDisplayValue:()Ljava/lang/String;
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendEscaped:(Ljava/lang/Object;)V
        18: .line 134
      StackMap locals:
      StackMap stack:
            aload 2 /* value */
            invokevirtual com.oracle.truffle.llvm.tests.debug.LLVMDebugValue.isBuggy:()Z
            ifeq 20
        19: .line 135
            aload 0 /* this */
            ldc "buggy"
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.appendUnescaped:(Ljava/lang/String;)V
        20: .line 138
      StackMap locals:
      StackMap stack:
            return
        end local 2 // com.oracle.truffle.llvm.tests.debug.LLVMDebugValue value
        end local 1 // java.lang.String name
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   21     0        this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0   21     1        name  Ljava/lang/String;
            0   21     2       value  Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue;
            8   15     3  structured  Lcom/oracle/truffle/llvm/tests/debug/LLVMDebugValue$Structured;
           11   12     4  memberName  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      name   
      value  

  private void addIndentation();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
         0: .line 141
            aload 0 /* this */
            dup
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
            iconst_1
            iadd
            putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
         1: .line 142
            return
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;

  private void dropIndentation();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
         0: .line 145
            aload 0 /* this */
            dup
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
            iconst_1
            isub
            putfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
         1: .line 146
            return
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;

  private void appendEscaped(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // java.lang.Object word
         0: .line 149
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            ldc " \""
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         1: .line 150
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            aload 1 /* word */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         2: .line 151
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            ldc "\""
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         3: .line 152
            return
        end local 1 // java.lang.Object word
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0    4     1  word  Ljava/lang/Object;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      word  

  private void appendUnescaped(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // java.lang.String word
         0: .line 155
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            ldc " "
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         1: .line 156
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            aload 1 /* word */
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         2: .line 157
            return
        end local 1 // java.lang.String word
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0    3     1  word  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      word  

  private void newLine(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
        start local 1 // java.lang.String cmd
         0: .line 160
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.writeIndentation:()V
         1: .line 161
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            aload 1 /* cmd */
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         2: .line 162
            return
        end local 1 // java.lang.String cmd
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            0    3     1   cmd  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cmd   

  private void writeIndentation();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
         0: .line 165
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.tests.debug.TraceWriter.newLine:()V
         1: .line 166
            iconst_0
            istore 1 /* i */
        start local 1 // int i
         2: goto 5
         3: .line 167
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            ldc "    "
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
         4: .line 166
            iinc 1 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 1 /* i */
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.indentLevel:I
            if_icmplt 3
        end local 1 // int i
         6: .line 169
            return
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
            2    6     1     i  I
    Exceptions:
      throws java.io.IOException

  private void newLine();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
         0: .line 172
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.tests.debug.TraceWriter.writer:Ljava/io/BufferedWriter;
            invokevirtual java.io.BufferedWriter.newLine:()V
         1: .line 173
            return
        end local 0 // com.oracle.truffle.llvm.tests.debug.TraceWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/llvm/tests/debug/TraceWriter;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "TraceWriter.java"
InnerClasses:
  final Structured = com.oracle.truffle.llvm.tests.debug.LLVMDebugValue$Structured of com.oracle.truffle.llvm.tests.debug.LLVMDebugValue
  final Scope = com.oracle.truffle.llvm.tests.debug.StopRequest$Scope of com.oracle.truffle.llvm.tests.debug.StopRequest