final class jdk.jfr.internal.tool.JSONWriter extends jdk.jfr.internal.tool.EventPrintWriter
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.jfr.internal.tool.JSONWriter
  super_class: jdk.jfr.internal.tool.EventPrintWriter
{
  private boolean first;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.io.PrintWriter);
    descriptor: (Ljava/io/PrintWriter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // java.io.PrintWriter writer
         0: .line 42
            aload 0 /* this */
            aload 1 /* writer */
            invokespecial jdk.jfr.internal.tool.EventPrintWriter.<init>:(Ljava/io/PrintWriter;)V
         1: .line 39
            aload 0 /* this */
            iconst_1
            putfield jdk.jfr.internal.tool.JSONWriter.first:Z
         2: .line 43
            return
        end local 1 // java.io.PrintWriter writer
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Ljdk/jfr/internal/tool/JSONWriter;
            0    3     1  writer  Ljava/io/PrintWriter;
    MethodParameters:
        Name  Flags
      writer  

  protected void printBegin();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 47
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
         1: .line 48
            aload 0 /* this */
            ldc "recording"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
         2: .line 49
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
         3: .line 50
            aload 0 /* this */
            ldc "events"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
         4: .line 51
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayBegin:()V
         5: .line 52
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  protected void print(java.util.List<jdk.jfr.consumer.RecordedEvent>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // java.util.List events
         0: .line 56
            aload 1 /* events */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 6
      StackMap locals: jdk.jfr.internal.tool.JSONWriter java.util.List top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.consumer.RecordedEvent
            astore 2 /* event */
        start local 2 // jdk.jfr.consumer.RecordedEvent event
         2: .line 57
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.jfr.internal.tool.JSONWriter.first:Z
            iconst_1
            aconst_null
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
         3: .line 58
            aload 0 /* this */
            aload 2 /* event */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printEvent:(Ljdk/jfr/consumer/RecordedEvent;)V
         4: .line 59
            aload 0 /* this */
            iconst_0
            invokevirtual jdk.jfr.internal.tool.JSONWriter.flush:(Z)V
         5: .line 60
            aload 0 /* this */
            iconst_0
            putfield jdk.jfr.internal.tool.JSONWriter.first:Z
        end local 2 // jdk.jfr.consumer.RecordedEvent event
         6: .line 56
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         7: .line 62
            return
        end local 1 // java.util.List events
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljdk/jfr/internal/tool/JSONWriter;
            0    8     1  events  Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;
            2    6     2   event  Ljdk/jfr/consumer/RecordedEvent;
    Signature: (Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;)V
    MethodParameters:
        Name  Flags
      events  

  protected void printEnd();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 66
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayEnd:()V
         1: .line 67
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
         2: .line 68
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
         3: .line 69
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printEvent(jdk.jfr.consumer.RecordedEvent);
    descriptor: (Ljdk/jfr/consumer/RecordedEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=6, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // jdk.jfr.consumer.RecordedEvent event
         0: .line 72
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
         1: .line 73
            aload 1 /* event */
            invokevirtual jdk.jfr.consumer.RecordedEvent.getEventType:()Ljdk/jfr/EventType;
            astore 2 /* type */
        start local 2 // jdk.jfr.EventType type
         2: .line 74
            aload 0 /* this */
            iconst_1
            iconst_0
            ldc "type"
            aload 2 /* type */
            invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printValue:(ZZLjava/lang/String;Ljava/lang/Object;)V
         3: .line 75
            aload 0 /* this */
            iconst_0
            iconst_0
            ldc "values"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
         4: .line 76
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
         5: .line 77
            iconst_1
            istore 3 /* first */
        start local 3 // boolean first
         6: .line 78
            aload 1 /* event */
            invokevirtual jdk.jfr.consumer.RecordedEvent.getFields:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 10
      StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.consumer.RecordedEvent jdk.jfr.EventType int top java.util.Iterator
      StackMap stack:
         7: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.ValueDescriptor
            astore 4 /* v */
        start local 4 // jdk.jfr.ValueDescriptor v
         8: .line 79
            aload 0 /* this */
            iload 3 /* first */
            iconst_0
            aload 4 /* v */
            aload 0 /* this */
            aload 1 /* event */
            aload 4 /* v */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
         9: .line 80
            iconst_0
            istore 3 /* first */
        end local 4 // jdk.jfr.ValueDescriptor v
        10: .line 78
      StackMap locals:
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        11: .line 82
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
        12: .line 83
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
        13: .line 84
            return
        end local 3 // boolean first
        end local 2 // jdk.jfr.EventType type
        end local 1 // jdk.jfr.consumer.RecordedEvent event
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0   this  Ljdk/jfr/internal/tool/JSONWriter;
            0   14     1  event  Ljdk/jfr/consumer/RecordedEvent;
            2   14     2   type  Ljdk/jfr/EventType;
            6   14     3  first  Z
            8   10     4      v  Ljdk/jfr/ValueDescriptor;
    MethodParameters:
       Name  Flags
      event  

  void printValue(boolean, boolean, java.lang.String, java.lang.Object);
    descriptor: (ZZLjava/lang/String;Ljava/lang/Object;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // boolean first
        start local 2 // boolean arrayElement
        start local 3 // java.lang.String name
        start local 4 // java.lang.Object value
         0: .line 87
            aload 0 /* this */
            iload 1 /* first */
            iload 2 /* arrayElement */
            aload 3 /* name */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
         1: .line 88
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
            ifne 25
         2: .line 89
            aload 4 /* value */
            instanceof java.lang.Boolean
            ifeq 5
         3: .line 90
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
         4: .line 91
            return
         5: .line 93
      StackMap locals:
      StackMap stack:
            aload 4 /* value */
            instanceof java.lang.Double
            ifeq 12
         6: .line 94
            aload 4 /* value */
            checkcast java.lang.Double
            astore 5 /* dValue */
        start local 5 // java.lang.Double dValue
         7: .line 95
            aload 5 /* dValue */
            invokevirtual java.lang.Double.doubleValue:()D
            invokestatic java.lang.Double.isNaN:(D)Z
            ifne 8
            aload 5 /* dValue */
            invokevirtual java.lang.Double.doubleValue:()D
            invokestatic java.lang.Double.isInfinite:(D)Z
            ifeq 10
         8: .line 96
      StackMap locals: java.lang.Double
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
         9: .line 97
            return
        10: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
        11: .line 100
            return
        end local 5 // java.lang.Double dValue
        12: .line 102
      StackMap locals:
      StackMap stack:
            aload 4 /* value */
            instanceof java.lang.Float
            ifeq 19
        13: .line 103
            aload 4 /* value */
            checkcast java.lang.Float
            astore 5 /* fValue */
        start local 5 // java.lang.Float fValue
        14: .line 104
            aload 5 /* fValue */
            invokevirtual java.lang.Float.floatValue:()F
            invokestatic java.lang.Float.isNaN:(F)Z
            ifne 15
            aload 5 /* fValue */
            invokevirtual java.lang.Float.floatValue:()F
            invokestatic java.lang.Float.isInfinite:(F)Z
            ifeq 17
        15: .line 105
      StackMap locals: java.lang.Float
      StackMap stack:
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
        16: .line 106
            return
        17: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
        18: .line 109
            return
        end local 5 // java.lang.Float fValue
        19: .line 111
      StackMap locals:
      StackMap stack:
            aload 4 /* value */
            instanceof java.lang.Number
            ifeq 22
        20: .line 112
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printAsString:(Ljava/lang/Object;)V
        21: .line 113
            return
        22: .line 115
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc "\""
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        23: .line 116
            aload 0 /* this */
            aload 4 /* value */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printEscaped:(Ljava/lang/String;)V
        24: .line 117
            aload 0 /* this */
            ldc "\""
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        25: .line 119
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.lang.Object value
        end local 3 // java.lang.String name
        end local 2 // boolean arrayElement
        end local 1 // boolean first
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   26     0          this  Ljdk/jfr/internal/tool/JSONWriter;
            0   26     1         first  Z
            0   26     2  arrayElement  Z
            0   26     3          name  Ljava/lang/String;
            0   26     4         value  Ljava/lang/Object;
            7   12     5        dValue  Ljava/lang/Double;
           14   19     5        fValue  Ljava/lang/Float;
    MethodParameters:
              Name  Flags
      first         
      arrayElement  
      name          
      value         

  public void printObject(jdk.jfr.consumer.RecordedObject);
    descriptor: (Ljdk/jfr/consumer/RecordedObject;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=5, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // jdk.jfr.consumer.RecordedObject object
         0: .line 122
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectBegin:()V
         1: .line 123
            iconst_1
            istore 2 /* first */
        start local 2 // boolean first
         2: .line 124
            aload 1 /* object */
            invokevirtual jdk.jfr.consumer.RecordedObject.getFields:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.consumer.RecordedObject int top java.util.Iterator
      StackMap stack:
         3: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.ValueDescriptor
            astore 3 /* v */
        start local 3 // jdk.jfr.ValueDescriptor v
         4: .line 125
            aload 0 /* this */
            iload 2 /* first */
            iconst_0
            aload 3 /* v */
            aload 0 /* this */
            aload 1 /* object */
            aload 3 /* v */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
         5: .line 126
            iconst_0
            istore 2 /* first */
        end local 3 // jdk.jfr.ValueDescriptor v
         6: .line 124
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 128
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObjectEnd:()V
         8: .line 129
            return
        end local 2 // boolean first
        end local 1 // jdk.jfr.consumer.RecordedObject object
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    9     0    this  Ljdk/jfr/internal/tool/JSONWriter;
            0    9     1  object  Ljdk/jfr/consumer/RecordedObject;
            2    9     2   first  Z
            4    6     3       v  Ljdk/jfr/ValueDescriptor;
    MethodParameters:
        Name  Flags
      object  

  private void printArray(jdk.jfr.ValueDescriptor, java.lang.Object[]);
    descriptor: (Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=9, args_size=3
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // jdk.jfr.ValueDescriptor v
        start local 2 // java.lang.Object[] array
         0: .line 132
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayBegin:()V
         1: .line 133
            iconst_1
            istore 3 /* first */
        start local 3 // boolean first
         2: .line 134
            iconst_0
            istore 4 /* depth */
        start local 4 // int depth
         3: .line 135
            aload 2 /* array */
            dup
            astore 8
            arraylength
            istore 7
            iconst_0
            istore 6
            goto 10
      StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int top int int java.lang.Object[]
      StackMap stack:
         4: aload 8
            iload 6
            aaload
            astore 5 /* arrayElement */
        start local 5 // java.lang.Object arrayElement
         5: .line 136
            aload 5 /* arrayElement */
            instanceof jdk.jfr.consumer.RecordedFrame
            ifeq 6
            iload 4 /* depth */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.getStackDepth:()I
            if_icmpge 7
         6: .line 137
      StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int java.lang.Object int int java.lang.Object[]
      StackMap stack:
            aload 0 /* this */
            iload 3 /* first */
            iconst_1
            aload 1 /* v */
            aload 5 /* arrayElement */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printValueDescriptor:(ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
         7: .line 139
      StackMap locals:
      StackMap stack:
            iinc 4 /* depth */ 1
         8: .line 140
            iconst_0
            istore 3 /* first */
        end local 5 // java.lang.Object arrayElement
         9: .line 135
            iinc 6 1
      StackMap locals: jdk.jfr.internal.tool.JSONWriter jdk.jfr.ValueDescriptor java.lang.Object[] int int top int int java.lang.Object[]
      StackMap stack:
        10: iload 6
            iload 7
            if_icmplt 4
        11: .line 142
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printArrayEnd:()V
        12: .line 143
            return
        end local 4 // int depth
        end local 3 // boolean first
        end local 2 // java.lang.Object[] array
        end local 1 // jdk.jfr.ValueDescriptor v
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   13     0          this  Ljdk/jfr/internal/tool/JSONWriter;
            0   13     1             v  Ljdk/jfr/ValueDescriptor;
            0   13     2         array  [Ljava/lang/Object;
            2   13     3         first  Z
            3   13     4         depth  I
            5    9     5  arrayElement  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      v      
      array  

  private void printValueDescriptor(boolean, boolean, jdk.jfr.ValueDescriptor, java.lang.Object);
    descriptor: (ZZLjdk/jfr/ValueDescriptor;Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // boolean first
        start local 2 // boolean arrayElement
        start local 3 // jdk.jfr.ValueDescriptor vd
        start local 4 // java.lang.Object value
         0: .line 146
            aload 3 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.isArray:()Z
            ifeq 5
            iload 2 /* arrayElement */
            ifne 5
         1: .line 147
            aload 0 /* this */
            iload 1 /* first */
            iload 2 /* arrayElement */
            aload 3 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
         2: .line 148
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 149
            aload 0 /* this */
            aload 3 /* vd */
            aload 4 /* value */
            checkcast java.lang.Object[]
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printArray:(Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
         4: .line 151
      StackMap locals:
      StackMap stack:
            return
         5: .line 153
      StackMap locals:
      StackMap stack:
            aload 3 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getFields:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 10
         6: .line 154
            aload 0 /* this */
            iload 1 /* first */
            iload 2 /* arrayElement */
            aload 3 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNewDataStructure:(ZZLjava/lang/String;)V
         7: .line 155
            aload 0 /* this */
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printIfNull:(Ljava/lang/Object;)Z
            ifne 9
         8: .line 156
            aload 0 /* this */
            aload 4 /* value */
            checkcast jdk.jfr.consumer.RecordedObject
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printObject:(Ljdk/jfr/consumer/RecordedObject;)V
         9: .line 158
      StackMap locals:
      StackMap stack:
            return
        10: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* first */
            iload 2 /* arrayElement */
            aload 3 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
            aload 4 /* value */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printValue:(ZZLjava/lang/String;Ljava/lang/Object;)V
        11: .line 161
            return
        end local 4 // java.lang.Object value
        end local 3 // jdk.jfr.ValueDescriptor vd
        end local 2 // boolean arrayElement
        end local 1 // boolean first
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   12     0          this  Ljdk/jfr/internal/tool/JSONWriter;
            0   12     1         first  Z
            0   12     2  arrayElement  Z
            0   12     3            vd  Ljdk/jfr/ValueDescriptor;
            0   12     4         value  Ljava/lang/Object;
    MethodParameters:
              Name  Flags
      first         
      arrayElement  
      vd            
      value         

  private void printNewDataStructure(boolean, boolean, java.lang.String);
    descriptor: (ZZLjava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // boolean first
        start local 2 // boolean arrayElement
        start local 3 // java.lang.String name
         0: .line 164
            iload 1 /* first */
            ifne 4
         1: .line 165
            aload 0 /* this */
            ldc ", "
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         2: .line 166
            iload 2 /* arrayElement */
            ifne 4
         3: .line 167
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.println:()V
         4: .line 170
      StackMap locals:
      StackMap stack:
            iload 2 /* arrayElement */
            ifne 6
         5: .line 171
            aload 0 /* this */
            aload 3 /* name */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printDataStructureName:(Ljava/lang/String;)V
         6: .line 173
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.String name
        end local 2 // boolean arrayElement
        end local 1 // boolean first
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Ljdk/jfr/internal/tool/JSONWriter;
            0    7     1         first  Z
            0    7     2  arrayElement  Z
            0    7     3          name  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      first         
      arrayElement  
      name          

  private boolean printIfNull(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // java.lang.Object value
         0: .line 176
            aload 1 /* value */
            ifnonnull 3
         1: .line 177
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printNull:()V
         2: .line 178
            iconst_1
            ireturn
         3: .line 180
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Object value
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/jfr/internal/tool/JSONWriter;
            0    4     1  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      value  

  private void printNull();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 184
            aload 0 /* this */
            ldc "null"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         1: .line 185
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printDataStructureName(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // java.lang.String text
         0: .line 188
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printIndent:()V
         1: .line 189
            aload 0 /* this */
            ldc "\""
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         2: .line 190
            aload 0 /* this */
            aload 1 /* text */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         3: .line 191
            aload 0 /* this */
            ldc "\": "
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         4: .line 192
            return
        end local 1 // java.lang.String text
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/tool/JSONWriter;
            0    5     1  text  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      text  

  private void printObjectEnd();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 195
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.retract:()V
         1: .line 196
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.println:()V
         2: .line 197
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printIndent:()V
         3: .line 198
            aload 0 /* this */
            ldc "}"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         4: .line 199
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printObjectBegin();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 202
            aload 0 /* this */
            ldc "{"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.println:(Ljava/lang/String;)V
         1: .line 203
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.indent:()V
         2: .line 204
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printArrayEnd();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 207
            aload 0 /* this */
            ldc "]"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         1: .line 208
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printArrayBegin();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
         0: .line 211
            aload 0 /* this */
            ldc "["
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         1: .line 212
            return
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/jfr/internal/tool/JSONWriter;

  private void printEscaped(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // java.lang.String text
         0: .line 215
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 4
         2: .line 216
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* text */
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            invokevirtual jdk.jfr.internal.tool.JSONWriter.printEscaped:(C)V
         3: .line 215
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         4: iload 2 /* i */
            aload 1 /* text */
            invokevirtual java.lang.String.length:()I
            if_icmplt 2
        end local 2 // int i
         5: .line 218
            return
        end local 1 // java.lang.String text
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jfr/internal/tool/JSONWriter;
            0    6     1  text  Ljava/lang/String;
            1    5     2     i  I
    MethodParameters:
      Name  Flags
      text  

  private void printEscaped(char);
    descriptor: (C)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.JSONWriter this
        start local 1 // char c
         0: .line 221
            iload 1 /* c */
            bipush 8
            if_icmpne 3
         1: .line 222
            aload 0 /* this */
            ldc "\\b"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         2: .line 223
            return
         3: .line 225
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 10
            if_icmpne 6
         4: .line 226
            aload 0 /* this */
            ldc "\\n"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         5: .line 227
            return
         6: .line 229
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 9
            if_icmpne 9
         7: .line 230
            aload 0 /* this */
            ldc "\\t"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
         8: .line 231
            return
         9: .line 233
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 12
            if_icmpne 12
        10: .line 234
            aload 0 /* this */
            ldc "\\f"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        11: .line 235
            return
        12: .line 237
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 13
            if_icmpne 15
        13: .line 238
            aload 0 /* this */
            ldc "\\r"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        14: .line 239
            return
        15: .line 241
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 34
            if_icmpne 18
        16: .line 242
            aload 0 /* this */
            ldc "\\\""
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        17: .line 243
            return
        18: .line 245
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 92
            if_icmpne 21
        19: .line 246
            aload 0 /* this */
            ldc "\\\\"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        20: .line 247
            return
        21: .line 249
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 47
            if_icmpne 24
        22: .line 250
            aload 0 /* this */
            ldc "\\/"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        23: .line 251
            return
        24: .line 253
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 127
            if_icmpgt 25
            iload 1 /* c */
            bipush 32
            if_icmpge 28
        25: .line 254
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc "\\u"
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        26: .line 256
            aload 0 /* this */
            ldc 65536
            iload 1 /* c */
            iadd
            invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(Ljava/lang/String;)V
        27: .line 257
            return
        28: .line 259
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* c */
            invokevirtual jdk.jfr.internal.tool.JSONWriter.print:(C)V
        29: .line 260
            return
        end local 1 // char c
        end local 0 // jdk.jfr.internal.tool.JSONWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   30     0  this  Ljdk/jfr/internal/tool/JSONWriter;
            0   30     1     c  C
    MethodParameters:
      Name  Flags
      c     
}
SourceFile: "JSONWriter.java"