final class jdk.jfr.internal.tool.XMLWriter 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.XMLWriter
  super_class: jdk.jfr.internal.tool.EventPrintWriter
{
  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.XMLWriter this
        start local 1 // java.io.PrintWriter destination
         0: .line 39
            aload 0 /* this */
            aload 1 /* destination */
            invokespecial jdk.jfr.internal.tool.EventPrintWriter.<init>:(Ljava/io/PrintWriter;)V
         1: .line 40
            return
        end local 1 // java.io.PrintWriter destination
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Ljdk/jfr/internal/tool/XMLWriter;
            0    2     1  destination  Ljava/io/PrintWriter;
    MethodParameters:
             Name  Flags
      destination  

  protected void printBegin();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
         0: .line 44
            aload 0 /* this */
            ldc "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         1: .line 45
            aload 0 /* this */
            ldc "<recording xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         2: .line 46
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.indent:()V
         3: .line 47
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
         4: .line 48
            aload 0 /* this */
            ldc "<events>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         5: .line 49
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.indent:()V
         6: .line 50
            return
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Ljdk/jfr/internal/tool/XMLWriter;

  protected void printEnd();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
         0: .line 54
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.retract:()V
         1: .line 55
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
         2: .line 56
            aload 0 /* this */
            ldc "</events>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         3: .line 57
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.retract:()V
         4: .line 58
            aload 0 /* this */
            ldc "</recording>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         5: .line 59
            return
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jfr/internal/tool/XMLWriter;

  protected void print(java.util.List<jdk.jfr.consumer.RecordedEvent>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // java.util.List events
         0: .line 63
            aload 1 /* events */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 3
      StackMap locals: jdk.jfr.internal.tool.XMLWriter 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 64
            aload 0 /* this */
            aload 2 /* event */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printEvent:(Ljdk/jfr/consumer/RecordedEvent;)V
        end local 2 // jdk.jfr.consumer.RecordedEvent event
         3: .line 63
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 66
            return
        end local 1 // java.util.List events
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Ljdk/jfr/internal/tool/XMLWriter;
            0    5     1  events  Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;
            2    3     2   event  Ljdk/jfr/consumer/RecordedEvent;
    Signature: (Ljava/util/List<Ljdk/jfr/consumer/RecordedEvent;>;)V
    MethodParameters:
        Name  Flags
      events  

  private void printEvent(jdk.jfr.consumer.RecordedEvent);
    descriptor: (Ljdk/jfr/consumer/RecordedEvent;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // jdk.jfr.consumer.RecordedEvent event
         0: .line 69
            aload 1 /* event */
            invokevirtual jdk.jfr.consumer.RecordedEvent.getEventType:()Ljdk/jfr/EventType;
            astore 2 /* type */
        start local 2 // jdk.jfr.EventType type
         1: .line 70
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
         2: .line 71
            aload 0 /* this */
            ldc "<event"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         3: .line 72
            aload 0 /* this */
            ldc "type"
            aload 2 /* type */
            invokevirtual jdk.jfr.EventType.getName:()Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printAttribute:(Ljava/lang/String;Ljava/lang/String;)V
         4: .line 73
            aload 0 /* this */
            ldc ">"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         5: .line 74
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:()V
         6: .line 75
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.indent:()V
         7: .line 76
            aload 1 /* event */
            invokevirtual jdk.jfr.consumer.RecordedEvent.getFields:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 10
      StackMap locals: jdk.jfr.internal.tool.XMLWriter jdk.jfr.consumer.RecordedEvent jdk.jfr.EventType top java.util.Iterator
      StackMap stack:
         8: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.ValueDescriptor
            astore 3 /* v */
        start local 3 // jdk.jfr.ValueDescriptor v
         9: .line 77
            aload 0 /* this */
            aload 3 /* v */
            aload 0 /* this */
            aload 1 /* event */
            aload 3 /* v */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
            iconst_m1
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printValueDescriptor:(Ljdk/jfr/ValueDescriptor;Ljava/lang/Object;I)V
        end local 3 // jdk.jfr.ValueDescriptor v
        10: .line 76
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 79
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.retract:()V
        12: .line 80
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
        13: .line 81
            aload 0 /* this */
            ldc "</event>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
        14: .line 82
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:()V
        15: .line 83
            return
        end local 2 // jdk.jfr.EventType type
        end local 1 // jdk.jfr.consumer.RecordedEvent event
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   16     0   this  Ljdk/jfr/internal/tool/XMLWriter;
            0   16     1  event  Ljdk/jfr/consumer/RecordedEvent;
            1   16     2   type  Ljdk/jfr/EventType;
            9   10     3      v  Ljdk/jfr/ValueDescriptor;
    MethodParameters:
       Name  Flags
      event  

  private void printAttribute(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // java.lang.String name
        start local 2 // java.lang.String value
         0: .line 86
            aload 0 /* this */
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
            ldc " "
            aastore
            dup
            iconst_1
            aload 1 /* name */
            aastore
            dup
            iconst_2
            ldc "=\""
            aastore
            dup
            iconst_3
            aload 2 /* value */
            aastore
            dup
            iconst_4
            ldc "\""
            aastore
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:([Ljava/lang/String;)V
         1: .line 87
            return
        end local 2 // java.lang.String value
        end local 1 // java.lang.String name
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Ljdk/jfr/internal/tool/XMLWriter;
            0    2     1   name  Ljava/lang/String;
            0    2     2  value  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      name   
      value  

  public void printObject(jdk.jfr.consumer.RecordedObject);
    descriptor: (Ljdk/jfr/consumer/RecordedObject;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // jdk.jfr.consumer.RecordedObject struct
         0: .line 90
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:()V
         1: .line 91
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.indent:()V
         2: .line 92
            aload 1 /* struct */
            invokevirtual jdk.jfr.consumer.RecordedObject.getFields:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: jdk.jfr.internal.tool.XMLWriter jdk.jfr.consumer.RecordedObject top java.util.Iterator
      StackMap stack:
         3: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.jfr.ValueDescriptor
            astore 2 /* v */
        start local 2 // jdk.jfr.ValueDescriptor v
         4: .line 93
            aload 0 /* this */
            aload 2 /* v */
            aload 0 /* this */
            aload 1 /* struct */
            aload 2 /* v */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.getValue:(Ljdk/jfr/consumer/RecordedObject;Ljdk/jfr/ValueDescriptor;)Ljava/lang/Object;
            iconst_m1
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printValueDescriptor:(Ljdk/jfr/ValueDescriptor;Ljava/lang/Object;I)V
        end local 2 // jdk.jfr.ValueDescriptor v
         5: .line 92
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         6: .line 95
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.retract:()V
         7: .line 96
            return
        end local 1 // jdk.jfr.consumer.RecordedObject struct
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljdk/jfr/internal/tool/XMLWriter;
            0    8     1  struct  Ljdk/jfr/consumer/RecordedObject;
            4    5     2       v  Ljdk/jfr/ValueDescriptor;
    MethodParameters:
        Name  Flags
      struct  

  private void printArray(jdk.jfr.ValueDescriptor, java.lang.Object[]);
    descriptor: (Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // jdk.jfr.ValueDescriptor v
        start local 2 // java.lang.Object[] array
         0: .line 99
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:()V
         1: .line 100
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.indent:()V
         2: .line 101
            iconst_0
            istore 3 /* depth */
        start local 3 // int depth
         3: .line 102
            iconst_0
            istore 4 /* index */
        start local 4 // int index
         4: goto 10
         5: .line 103
      StackMap locals: int int
      StackMap stack:
            aload 2 /* array */
            iload 4 /* index */
            aaload
            astore 5 /* arrayElement */
        start local 5 // java.lang.Object arrayElement
         6: .line 104
            aload 5 /* arrayElement */
            instanceof jdk.jfr.consumer.RecordedFrame
            ifeq 7
            iload 3 /* depth */
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.getStackDepth:()I
            if_icmpge 8
         7: .line 105
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            aload 1 /* v */
            aload 2 /* array */
            iload 4 /* index */
            aaload
            iload 4 /* index */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printValueDescriptor:(Ljdk/jfr/ValueDescriptor;Ljava/lang/Object;I)V
         8: .line 107
      StackMap locals:
      StackMap stack:
            iinc 3 /* depth */ 1
        end local 5 // java.lang.Object arrayElement
         9: .line 102
            iinc 4 /* index */ 1
      StackMap locals:
      StackMap stack:
        10: iload 4 /* index */
            aload 2 /* array */
            arraylength
            if_icmplt 5
        end local 4 // int index
        11: .line 109
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.retract:()V
        12: .line 110
            return
        end local 3 // int depth
        end local 2 // java.lang.Object[] array
        end local 1 // jdk.jfr.ValueDescriptor v
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   13     0          this  Ljdk/jfr/internal/tool/XMLWriter;
            0   13     1             v  Ljdk/jfr/ValueDescriptor;
            0   13     2         array  [Ljava/lang/Object;
            3   13     3         depth  I
            4   11     4         index  I
            6    9     5  arrayElement  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      v      
      array  

  private void printValueDescriptor(jdk.jfr.ValueDescriptor, java.lang.Object, int);
    descriptor: (Ljdk/jfr/ValueDescriptor;Ljava/lang/Object;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // jdk.jfr.ValueDescriptor vd
        start local 2 // java.lang.Object value
        start local 3 // int index
         0: .line 113
            iload 3 /* index */
            iconst_m1
            if_icmpeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 4 /* arrayElement */
        start local 4 // boolean arrayElement
         3: .line 114
            iload 4 /* arrayElement */
            ifeq 4
            aconst_null
            goto 5
      StackMap locals: int
      StackMap stack:
         4: aload 1 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getName:()Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         5: astore 5 /* name */
        start local 5 // java.lang.String name
         6: .line 115
            aload 1 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.isArray:()Z
            ifeq 12
            iload 4 /* arrayElement */
            ifne 12
         7: .line 116
            aload 0 /* this */
            ldc "array"
            aload 5 /* name */
            aload 2 /* value */
            iload 3 /* index */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printBeginElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;I)Z
            ifeq 11
         8: .line 117
            aload 0 /* this */
            aload 1 /* vd */
            aload 2 /* value */
            checkcast java.lang.Object[]
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printArray:(Ljdk/jfr/ValueDescriptor;[Ljava/lang/Object;)V
         9: .line 118
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
        10: .line 119
            aload 0 /* this */
            ldc "array"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printEndElement:(Ljava/lang/String;)V
        11: .line 121
      StackMap locals: java.lang.String
      StackMap stack:
            return
        12: .line 123
      StackMap locals:
      StackMap stack:
            aload 1 /* vd */
            invokevirtual jdk.jfr.ValueDescriptor.getFields:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 18
        13: .line 124
            aload 0 /* this */
            ldc "struct"
            aload 5 /* name */
            aload 2 /* value */
            iload 3 /* index */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printBeginElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;I)Z
            ifeq 17
        14: .line 125
            aload 0 /* this */
            aload 2 /* value */
            checkcast jdk.jfr.consumer.RecordedObject
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printObject:(Ljdk/jfr/consumer/RecordedObject;)V
        15: .line 126
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
        16: .line 127
            aload 0 /* this */
            ldc "struct"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printEndElement:(Ljava/lang/String;)V
        17: .line 129
      StackMap locals:
      StackMap stack:
            return
        18: .line 131
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc "value"
            aload 5 /* name */
            aload 2 /* value */
            iload 3 /* index */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printBeginElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;I)Z
            ifeq 21
        19: .line 132
            aload 0 /* this */
            aload 2 /* value */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printEscaped:(Ljava/lang/String;)V
        20: .line 133
            aload 0 /* this */
            ldc "value"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printEndElement:(Ljava/lang/String;)V
        21: .line 135
      StackMap locals:
      StackMap stack:
            return
        end local 5 // java.lang.String name
        end local 4 // boolean arrayElement
        end local 3 // int index
        end local 2 // java.lang.Object value
        end local 1 // jdk.jfr.ValueDescriptor vd
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   22     0          this  Ljdk/jfr/internal/tool/XMLWriter;
            0   22     1            vd  Ljdk/jfr/ValueDescriptor;
            0   22     2         value  Ljava/lang/Object;
            0   22     3         index  I
            3   22     4  arrayElement  Z
            6   22     5          name  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      vd     
      value  
      index  

  private boolean printBeginElement(java.lang.String, java.lang.String, java.lang.Object, int);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;I)Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=5
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // java.lang.String elementName
        start local 2 // java.lang.String name
        start local 3 // java.lang.Object value
        start local 4 // int index
         0: .line 138
            aload 0 /* this */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printIndent:()V
         1: .line 139
            aload 0 /* this */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "<"
            aastore
            dup
            iconst_1
            aload 1 /* elementName */
            aastore
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:([Ljava/lang/String;)V
         2: .line 140
            aload 2 /* name */
            ifnull 4
         3: .line 141
            aload 0 /* this */
            ldc "name"
            aload 2 /* name */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printAttribute:(Ljava/lang/String;Ljava/lang/String;)V
         4: .line 143
      StackMap locals:
      StackMap stack:
            iload 4 /* index */
            iconst_m1
            if_icmpeq 6
         5: .line 144
            aload 0 /* this */
            ldc "index"
            iload 4 /* index */
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printAttribute:(Ljava/lang/String;Ljava/lang/String;)V
         6: .line 146
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            ifnonnull 10
         7: .line 147
            aload 0 /* this */
            ldc "xsi:nil"
            ldc "true"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printAttribute:(Ljava/lang/String;Ljava/lang/String;)V
         8: .line 148
            aload 0 /* this */
            ldc "/>"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         9: .line 149
            iconst_0
            ireturn
        10: .line 151
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.isArray:()Z
            ifeq 13
        11: .line 152
            aload 3 /* value */
            checkcast java.lang.Object[]
            astore 5 /* array */
        start local 5 // java.lang.Object[] array
        12: .line 153
            aload 0 /* this */
            ldc "size"
            aload 5 /* array */
            arraylength
            invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
            invokevirtual jdk.jfr.internal.tool.XMLWriter.printAttribute:(Ljava/lang/String;Ljava/lang/String;)V
        end local 5 // java.lang.Object[] array
        13: .line 155
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            ldc ">"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
        14: .line 156
            iconst_1
            ireturn
        end local 4 // int index
        end local 3 // java.lang.Object value
        end local 2 // java.lang.String name
        end local 1 // java.lang.String elementName
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   15     0         this  Ljdk/jfr/internal/tool/XMLWriter;
            0   15     1  elementName  Ljava/lang/String;
            0   15     2         name  Ljava/lang/String;
            0   15     3        value  Ljava/lang/Object;
            0   15     4        index  I
           12   13     5        array  [Ljava/lang/Object;
    MethodParameters:
             Name  Flags
      elementName  
      name         
      value        
      index        

  private void printEndElement(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.XMLWriter this
        start local 1 // java.lang.String elementName
         0: .line 160
            aload 0 /* this */
            ldc "</"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         1: .line 161
            aload 0 /* this */
            aload 1 /* elementName */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         2: .line 162
            aload 0 /* this */
            ldc ">"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.println:(Ljava/lang/String;)V
         3: .line 163
            return
        end local 1 // java.lang.String elementName
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    4     0         this  Ljdk/jfr/internal/tool/XMLWriter;
            0    4     1  elementName  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      elementName  

  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.XMLWriter this
        start local 1 // java.lang.String text
         0: .line 166
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         1: goto 4
         2: .line 167
      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.XMLWriter.printEscaped:(C)V
         3: .line 166
            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 169
            return
        end local 1 // java.lang.String text
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/jfr/internal/tool/XMLWriter;
            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=2, locals=2, args_size=2
        start local 0 // jdk.jfr.internal.tool.XMLWriter this
        start local 1 // char c
         0: .line 172
            iload 1 /* c */
            bipush 34
            if_icmpne 3
         1: .line 173
            aload 0 /* this */
            ldc "&quot;"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         2: .line 174
            return
         3: .line 176
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 38
            if_icmpne 6
         4: .line 177
            aload 0 /* this */
            ldc "&amp;"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         5: .line 178
            return
         6: .line 180
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 39
            if_icmpne 9
         7: .line 181
            aload 0 /* this */
            ldc "&apos;"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
         8: .line 182
            return
         9: .line 184
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 60
            if_icmpne 12
        10: .line 185
            aload 0 /* this */
            ldc "&lt;"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
        11: .line 186
            return
        12: .line 188
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 62
            if_icmpne 15
        13: .line 189
            aload 0 /* this */
            ldc "&gt;"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
        14: .line 190
            return
        15: .line 192
      StackMap locals:
      StackMap stack:
            iload 1 /* c */
            bipush 127
            if_icmple 20
        16: .line 193
            aload 0 /* this */
            ldc "&#"
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(Ljava/lang/String;)V
        17: .line 194
            aload 0 /* this */
            iload 1 /* c */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(I)V
        18: .line 195
            aload 0 /* this */
            bipush 59
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(C)V
        19: .line 196
            return
        20: .line 198
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* c */
            invokevirtual jdk.jfr.internal.tool.XMLWriter.print:(C)V
        21: .line 199
            return
        end local 1 // char c
        end local 0 // jdk.jfr.internal.tool.XMLWriter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   22     0  this  Ljdk/jfr/internal/tool/XMLWriter;
            0   22     1     c  C
    MethodParameters:
      Name  Flags
      c     
}
SourceFile: "XMLWriter.java"