public class com.oracle.svm.hosted.dashboard.ToJson
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.svm.hosted.dashboard.ToJson
  super_class: java.lang.Object
{
  private static final java.lang.String EMPTY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: ""

  private static final java.lang.String NEW_LINE;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "\n"

  private static final char TAB;
    descriptor: C
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 9

  private static final java.lang.String OPEN_OBJECT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "{"

  private static final java.lang.String CLOSE_OBJECT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "}"

  private static final java.lang.String OPEN_ARRAY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "["

  private static final java.lang.String CLOSE_ARRAY;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "]"

  private static final char QUOTE;
    descriptor: C
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 34

  private static final char SLASH;
    descriptor: C
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 92

  private static final java.util.BitSet ESC;
    descriptor: Ljava/util/BitSet;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Map<java.lang.Character, java.lang.Character> MAP;
    descriptor: Ljava/util/Map;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Character;Ljava/lang/Character;>;

  private final boolean pretty;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String newPrefix;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String prefi;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String colon;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  private final java.util.List<java.lang.String> prepends;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/String;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 37
            ldc Lcom/oracle/svm/hosted/dashboard/ToJson;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.svm.hosted.dashboard.ToJson.$assertionsDisabled:Z
         3: .line 56
            bipush 8
            anewarray java.lang.Character
            dup
            iconst_0
            bipush 92
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            iconst_1
            bipush 34
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            iconst_2
            bipush 8
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            iconst_3
            bipush 12
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            iconst_4
            bipush 10
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            iconst_5
            bipush 13
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            bipush 6
            bipush 9
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            dup
            bipush 7
            bipush 47
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            aastore
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic get()Ljava/util/function/Supplier;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()Ljava/lang/Object;
                  java/util/BitSet.<init>()V (8)
                  ()Ljava/util/BitSet;
            invokedynamic accept()Ljava/util/function/BiConsumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)V
                  java/util/BitSet.set(I)V (5)
                  (Ljava/util/BitSet;Ljava/lang/Character;)V
            invokedynamic accept()Ljava/util/function/BiConsumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;Ljava/lang/Object;)V
                  java/util/BitSet.or(Ljava/util/BitSet;)V (5)
                  (Ljava/util/BitSet;Ljava/util/BitSet;)V
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/function/Supplier;Ljava/util/function/BiConsumer;Ljava/util/function/BiConsumer;)Ljava/lang/Object;
            checkcast java.util.BitSet
            putstatic com.oracle.svm.hosted.dashboard.ToJson.ESC:Ljava/util/BitSet;
         4: .line 57
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
         5: .line 58
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            bipush 8
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            bipush 98
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 59
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            bipush 12
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            bipush 102
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 60
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            bipush 10
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            bipush 110
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         8: .line 61
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            bipush 13
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            bipush 114
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         9: .line 62
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            bipush 9
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            bipush 116
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 63
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
         0: .line 90
            aload 0 /* this */
            iconst_0
            invokespecial com.oracle.svm.hosted.dashboard.ToJson.<init>:(Z)V
         1: .line 91
            return
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/svm/hosted/dashboard/ToJson;

  public void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // boolean pretty
         0: .line 93
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 70
            aload 0 /* this */
            iconst_0
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         2: .line 73
            aload 0 /* this */
            new com.oracle.svm.hosted.dashboard.ToJson$1
            dup
            aload 0 /* this */
            invokespecial com.oracle.svm.hosted.dashboard.ToJson$1.<init>:(Lcom/oracle/svm/hosted/dashboard/ToJson;)V
            putfield com.oracle.svm.hosted.dashboard.ToJson.prepends:Ljava/util/List;
         3: .line 94
            aload 0 /* this */
            iload 1 /* pretty */
            putfield com.oracle.svm.hosted.dashboard.ToJson.pretty:Z
         4: .line 95
            iload 1 /* pretty */
            ifeq 9
         5: .line 96
            aload 0 /* this */
            ldc ",\n"
            putfield com.oracle.svm.hosted.dashboard.ToJson.prefi:Ljava/lang/String;
         6: .line 97
            aload 0 /* this */
            ldc "\n"
            putfield com.oracle.svm.hosted.dashboard.ToJson.newPrefix:Ljava/lang/String;
         7: .line 98
            aload 0 /* this */
            ldc ": "
            putfield com.oracle.svm.hosted.dashboard.ToJson.colon:Ljava/lang/String;
         8: .line 99
            goto 12
         9: .line 100
      StackMap locals: com.oracle.svm.hosted.dashboard.ToJson int
      StackMap stack:
            aload 0 /* this */
            ldc ","
            putfield com.oracle.svm.hosted.dashboard.ToJson.prefi:Ljava/lang/String;
        10: .line 101
            aload 0 /* this */
            ldc ""
            putfield com.oracle.svm.hosted.dashboard.ToJson.newPrefix:Ljava/lang/String;
        11: .line 102
            aload 0 /* this */
            ldc ":"
            putfield com.oracle.svm.hosted.dashboard.ToJson.colon:Ljava/lang/String;
        12: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.newPrefix:Ljava/lang/String;
            putfield com.oracle.svm.hosted.dashboard.ToJson.pref:Ljava/lang/String;
        13: .line 105
            return
        end local 1 // boolean pretty
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0   14     1  pretty  Z
    MethodParameters:
        Name  Flags
      pretty  

  public void printHeader(java.io.PrintWriter);
    descriptor: (Ljava/io/PrintWriter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
         0: .line 108
            aload 1 /* writer */
            ldc "{"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         1: .line 109
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            iadd
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         2: .line 110
            return
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    3     1  writer  Ljava/io/PrintWriter;
    MethodParameters:
        Name  Flags
      writer  

  private void prepend(java.io.PrintWriter);
    descriptor: (Ljava/io/PrintWriter;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
         0: .line 113
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.pretty:Z
            ifeq 2
         1: .line 114
            aload 1 /* writer */
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.prepends:Ljava/util/List;
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast java.lang.CharSequence
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         2: .line 116
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    3     1  writer  Ljava/io/PrintWriter;
    MethodParameters:
        Name  Flags
      writer  

  public void put(java.io.PrintWriter, java.lang.String, com.oracle.svm.hosted.dashboard.ToJson$JsonValue);
    descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
        start local 2 // java.lang.String name
        start local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue value
         0: .line 119
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            ifne 2
         1: .line 120
            aload 0 /* this */
            aload 1 /* writer */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.printHeader:(Ljava/io/PrintWriter;)V
         2: .line 122
      StackMap locals:
      StackMap stack:
            aload 3 /* value */
            ifnull 6
         3: .line 123
            aload 1 /* writer */
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.pref:Ljava/lang/String;
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
         4: .line 124
            aload 0 /* this */
            aload 1 /* writer */
            aload 2 /* name */
            aload 3 /* value */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.putProperty:(Ljava/io/PrintWriter;Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
         5: .line 125
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.prefi:Ljava/lang/String;
            putfield com.oracle.svm.hosted.dashboard.ToJson.pref:Ljava/lang/String;
         6: .line 127
      StackMap locals:
      StackMap stack:
            return
        end local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue value
        end local 2 // java.lang.String name
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    7     1  writer  Ljava/io/PrintWriter;
            0    7     2    name  Ljava/lang/String;
            0    7     3   value  Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;
    MethodParameters:
        Name  Flags
      writer  
      name    
      value   

  private void putProperty(java.io.PrintWriter, java.lang.String, com.oracle.svm.hosted.dashboard.ToJson$JsonValue);
    descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
        start local 2 // java.lang.String name
        start local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue value
         0: .line 130
            aload 0 /* this */
            aload 1 /* writer */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.prepend:(Ljava/io/PrintWriter;)V
         1: .line 131
            aload 1 /* writer */
            aload 2 /* name */
            invokestatic com.oracle.svm.hosted.dashboard.ToJson.dumpString:(Ljava/io/PrintWriter;Ljava/lang/String;)V
         2: .line 132
            aload 1 /* writer */
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.colon:Ljava/lang/String;
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         3: .line 133
            aload 3 /* value */
            aload 1 /* writer */
            aload 0 /* this */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson$JsonValue.dump:(Ljava/io/PrintWriter;Lcom/oracle/svm/hosted/dashboard/ToJson;)V
         4: .line 134
            return
        end local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue value
        end local 2 // java.lang.String name
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    5     1  writer  Ljava/io/PrintWriter;
            0    5     2    name  Ljava/lang/String;
            0    5     3   value  Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;
    MethodParameters:
        Name  Flags
      writer  
      name    
      value   

  private static void dumpString(java.io.PrintWriter, java.lang.String);
    descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // java.io.PrintWriter writer
        start local 1 // java.lang.String string
         0: .line 137
            aload 0 /* writer */
            bipush 34
            invokevirtual java.io.PrintWriter.append:(C)Ljava/io/PrintWriter;
            pop
         1: .line 138
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: aload 1 /* string */
            invokevirtual java.lang.String.length:()I
            istore 3 /* n */
        start local 3 // int n
         3: goto 11
         4: .line 139
      StackMap locals: int int
      StackMap stack:
            aload 1 /* string */
            iload 2 /* i */
            invokevirtual java.lang.String.charAt:(I)C
            istore 4 /* c */
        start local 4 // char c
         5: .line 140
            getstatic com.oracle.svm.hosted.dashboard.ToJson.ESC:Ljava/util/BitSet;
            iload 4 /* c */
            invokevirtual java.util.BitSet.get:(I)Z
            ifeq 9
         6: .line 141
            aload 0 /* writer */
            bipush 92
            invokevirtual java.io.PrintWriter.append:(C)Ljava/io/PrintWriter;
            pop
         7: .line 142
            aload 0 /* writer */
            getstatic com.oracle.svm.hosted.dashboard.ToJson.MAP:Ljava/util/Map;
            iload 4 /* c */
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            iload 4 /* c */
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Character
            invokevirtual java.lang.Character.charValue:()C
            invokevirtual java.io.PrintWriter.append:(C)Ljava/io/PrintWriter;
            pop
         8: .line 143
            goto 10
         9: .line 144
      StackMap locals: int
      StackMap stack:
            aload 0 /* writer */
            iload 4 /* c */
            invokevirtual java.io.PrintWriter.append:(C)Ljava/io/PrintWriter;
            pop
        end local 4 // char c
        10: .line 138
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 2 /* i */
            iload 3 /* n */
            if_icmplt 4
        end local 3 // int n
        end local 2 // int i
        12: .line 147
            aload 0 /* writer */
            bipush 34
            invokevirtual java.io.PrintWriter.append:(C)Ljava/io/PrintWriter;
            pop
        13: .line 148
            return
        end local 1 // java.lang.String string
        end local 0 // java.io.PrintWriter writer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0  writer  Ljava/io/PrintWriter;
            0   14     1  string  Ljava/lang/String;
            2   12     2       i  I
            3   12     3       n  I
            5   10     4       c  C
    MethodParameters:
        Name  Flags
      writer  
      string  

  private static void dumpElement(java.io.PrintWriter, java.lang.String);
    descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.io.PrintWriter writer
        start local 1 // java.lang.String element
         0: .line 151
            aload 0 /* writer */
            aload 1 /* element */
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
         1: .line 152
            return
        end local 1 // java.lang.String element
        end local 0 // java.io.PrintWriter writer
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0   writer  Ljava/io/PrintWriter;
            0    2     1  element  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      writer   
      element  

  private static void dumpNumber(java.io.PrintWriter, java.lang.Number);
    descriptor: (Ljava/io/PrintWriter;Ljava/lang/Number;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.io.PrintWriter writer
        start local 1 // java.lang.Number number
         0: .line 155
            aload 0 /* writer */
            aload 1 /* number */
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/Object;)V
         1: .line 156
            return
        end local 1 // java.lang.Number number
        end local 0 // java.io.PrintWriter writer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0  writer  Ljava/io/PrintWriter;
            0    2     1  number  Ljava/lang/Number;
    MethodParameters:
        Name  Flags
      writer  
      number  

  private void dumpArray(java.io.PrintWriter, java.util.stream.Stream<com.oracle.svm.hosted.dashboard.ToJson$JsonValue>);
    descriptor: (Ljava/io/PrintWriter;Ljava/util/stream/Stream;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
        start local 2 // java.util.stream.Stream values
         0: .line 159
            aload 1 /* writer */
            ldc "["
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         1: .line 160
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            iadd
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         2: .line 161
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.newPrefix:Ljava/lang/String;
            aastore
            astore 3 /* prefix */
        start local 3 // java.lang.String[] prefix
         3: .line 162
            aload 2 /* values */
            invokeinterface java.util.stream.Stream.sequential:()Ljava/util/stream/BaseStream;
            checkcast java.util.stream.Stream
            aload 0 /* this */
            aload 1 /* writer */
            aload 3 /* prefix */
            invokedynamic accept(Lcom/oracle/svm/hosted/dashboard/ToJson;Ljava/io/PrintWriter;[Ljava/lang/String;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  com/oracle/svm/hosted/dashboard/ToJson.lambda$3(Ljava/io/PrintWriter;[Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V (7)
                  (Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         4: .line 170
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            isub
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         5: .line 171
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.pretty:Z
            ifeq 8
            aload 3 /* prefix */
            iconst_0
            aaload
            ldc "\n"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 8
         6: .line 172
            aload 1 /* writer */
            ldc "\n"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         7: .line 173
            aload 0 /* this */
            aload 1 /* writer */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.prepend:(Ljava/io/PrintWriter;)V
         8: .line 175
      StackMap locals: java.lang.String[]
      StackMap stack:
            aload 1 /* writer */
            ldc "]"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         9: .line 176
            return
        end local 3 // java.lang.String[] prefix
        end local 2 // java.util.stream.Stream values
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0   10     1  writer  Ljava/io/PrintWriter;
            0   10     2  values  Ljava/util/stream/Stream<Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;>;
            3   10     3  prefix  [Ljava/lang/String;
    Signature: (Ljava/io/PrintWriter;Ljava/util/stream/Stream<Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;>;)V
    MethodParameters:
        Name  Flags
      writer  
      values  

  private void dumpObject(java.io.PrintWriter, java.util.stream.Stream<java.lang.String>, java.util.function.Function<java.lang.String, com.oracle.svm.hosted.dashboard.ToJson$JsonValue>);
    descriptor: (Ljava/io/PrintWriter;Ljava/util/stream/Stream;Ljava/util/function/Function;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
        start local 2 // java.util.stream.Stream names
        start local 3 // java.util.function.Function func
         0: .line 179
            aload 1 /* writer */
            ldc "{"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         1: .line 180
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            iadd
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         2: .line 181
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.newPrefix:Ljava/lang/String;
            aastore
            astore 4 /* prefix */
        start local 4 // java.lang.String[] prefix
         3: .line 182
            aload 2 /* names */
            invokeinterface java.util.stream.Stream.sequential:()Ljava/util/stream/BaseStream;
            checkcast java.util.stream.Stream
            aload 0 /* this */
            aload 3 /* func */
            aload 1 /* writer */
            aload 4 /* prefix */
            invokedynamic accept(Lcom/oracle/svm/hosted/dashboard/ToJson;Ljava/util/function/Function;Ljava/io/PrintWriter;[Ljava/lang/String;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  com/oracle/svm/hosted/dashboard/ToJson.lambda$4(Ljava/util/function/Function;Ljava/io/PrintWriter;[Ljava/lang/String;Ljava/lang/String;)V (7)
                  (Ljava/lang/String;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         4: .line 190
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            isub
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         5: .line 191
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.pretty:Z
            ifeq 8
            aload 4 /* prefix */
            iconst_0
            aaload
            ldc "\n"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 8
         6: .line 192
            aload 1 /* writer */
            ldc "\n"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         7: .line 193
            aload 0 /* this */
            aload 1 /* writer */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.prepend:(Ljava/io/PrintWriter;)V
         8: .line 195
      StackMap locals: java.lang.String[]
      StackMap stack:
            aload 1 /* writer */
            ldc "}"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         9: .line 196
            return
        end local 4 // java.lang.String[] prefix
        end local 3 // java.util.function.Function func
        end local 2 // java.util.stream.Stream names
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0   10     1  writer  Ljava/io/PrintWriter;
            0   10     2   names  Ljava/util/stream/Stream<Ljava/lang/String;>;
            0   10     3    func  Ljava/util/function/Function<Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;>;
            3   10     4  prefix  [Ljava/lang/String;
    Signature: (Ljava/io/PrintWriter;Ljava/util/stream/Stream<Ljava/lang/String;>;Ljava/util/function/Function<Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;>;)V
    MethodParameters:
        Name  Flags
      writer  
      names   
      func    

  public void close(java.io.PrintWriter);
    descriptor: (Ljava/io/PrintWriter;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 1 // java.io.PrintWriter writer
         0: .line 199
            aload 0 /* this */
            dup
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            iconst_1
            isub
            putfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
         1: .line 200
            getstatic com.oracle.svm.hosted.dashboard.ToJson.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.depth:I
            ifeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 201
      StackMap locals:
      StackMap stack:
            aload 1 /* writer */
            ldc "}"
            invokevirtual java.io.PrintWriter.append:(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
            pop
         3: .line 202
            return
        end local 1 // java.io.PrintWriter writer
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    4     1  writer  Ljava/io/PrintWriter;
    MethodParameters:
        Name  Flags
      writer  

  private void lambda$3(java.io.PrintWriter, java.lang.String[], com.oracle.svm.hosted.dashboard.ToJson$JsonValue);
    descriptor: (Ljava/io/PrintWriter;[Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue val
         0: .line 163
            aload 3 /* val */
            ifnull 5
         1: .line 164
            aload 1
            aload 2
            iconst_0
            aaload
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
         2: .line 165
            aload 0 /* this */
            aload 1
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.prepend:(Ljava/io/PrintWriter;)V
         3: .line 166
            aload 3 /* val */
            aload 1
            aload 0 /* this */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson$JsonValue.dump:(Ljava/io/PrintWriter;Lcom/oracle/svm/hosted/dashboard/ToJson;)V
         4: .line 167
            aload 2
            iconst_0
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.prefi:Ljava/lang/String;
            aastore
         5: .line 169
      StackMap locals:
      StackMap stack:
            return
        end local 3 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue val
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    6     3   val  Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;

  private void lambda$4(java.util.function.Function, java.io.PrintWriter, java.lang.String[], java.lang.String);
    descriptor: (Ljava/util/function/Function;Ljava/io/PrintWriter;[Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=6, args_size=5
        start local 0 // com.oracle.svm.hosted.dashboard.ToJson this
        start local 4 // java.lang.String name
         0: .line 183
            aload 1
            aload 4 /* name */
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.svm.hosted.dashboard.ToJson$JsonValue
            astore 5 /* val */
        start local 5 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue val
         1: .line 184
            aload 5 /* val */
            ifnull 5
         2: .line 185
            aload 2
            aload 3
            iconst_0
            aaload
            invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
         3: .line 186
            aload 0 /* this */
            aload 2
            aload 4 /* name */
            aload 5 /* val */
            invokevirtual com.oracle.svm.hosted.dashboard.ToJson.putProperty:(Ljava/io/PrintWriter;Ljava/lang/String;Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;)V
         4: .line 187
            aload 3
            iconst_0
            aload 0 /* this */
            getfield com.oracle.svm.hosted.dashboard.ToJson.prefi:Ljava/lang/String;
            aastore
        end local 5 // com.oracle.svm.hosted.dashboard.ToJson$JsonValue val
         5: .line 189
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.lang.String name
        end local 0 // com.oracle.svm.hosted.dashboard.ToJson this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/svm/hosted/dashboard/ToJson;
            0    6     4  name  Ljava/lang/String;
            1    5     5   val  Lcom/oracle/svm/hosted/dashboard/ToJson$JsonValue;
}
SourceFile: "ToJson.java"
NestMembers:
  com.oracle.svm.hosted.dashboard.ToJson$1  com.oracle.svm.hosted.dashboard.ToJson$JsonArray  com.oracle.svm.hosted.dashboard.ToJson$JsonArray$1  com.oracle.svm.hosted.dashboard.ToJson$JsonElement  com.oracle.svm.hosted.dashboard.ToJson$JsonElement$1  com.oracle.svm.hosted.dashboard.ToJson$JsonNumber  com.oracle.svm.hosted.dashboard.ToJson$JsonNumber$1  com.oracle.svm.hosted.dashboard.ToJson$JsonObject  com.oracle.svm.hosted.dashboard.ToJson$JsonObject$1  com.oracle.svm.hosted.dashboard.ToJson$JsonString  com.oracle.svm.hosted.dashboard.ToJson$JsonString$1  com.oracle.svm.hosted.dashboard.ToJson$JsonValue
InnerClasses:
  com.oracle.svm.hosted.dashboard.ToJson$1
  public abstract JsonArray = com.oracle.svm.hosted.dashboard.ToJson$JsonArray of com.oracle.svm.hosted.dashboard.ToJson
  private abstract JsonElement = com.oracle.svm.hosted.dashboard.ToJson$JsonElement of com.oracle.svm.hosted.dashboard.ToJson
  public abstract JsonNumber = com.oracle.svm.hosted.dashboard.ToJson$JsonNumber of com.oracle.svm.hosted.dashboard.ToJson
  public abstract JsonObject = com.oracle.svm.hosted.dashboard.ToJson$JsonObject of com.oracle.svm.hosted.dashboard.ToJson
  public abstract JsonString = com.oracle.svm.hosted.dashboard.ToJson$JsonString of com.oracle.svm.hosted.dashboard.ToJson
  public abstract JsonValue = com.oracle.svm.hosted.dashboard.ToJson$JsonValue of com.oracle.svm.hosted.dashboard.ToJson
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles