final class jdk.management.jfr.Stringifier
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.management.jfr.Stringifier
super_class: java.lang.Object
{
private final java.lang.StringBuilder sb;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean first;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
2: aload 0
iconst_1
putfield jdk.management.jfr.Stringifier.first:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/management/jfr/Stringifier;
public void add(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.management.jfr.Stringifier.first:Z
ifeq 3
1: aload 0
iconst_0
putfield jdk.management.jfr.Stringifier.first:Z
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 2
instanceof java.lang.String
istore 3
start local 3 5: aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 2
ifnonnull 9
7: aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
ldc "null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 14
9: StackMap locals: int
StackMap stack:
iload 3
ifeq 11
10: aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
12: iload 3
ifeq 14
13: aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/management/jfr/Stringifier;
0 15 1 name Ljava/lang/String;
0 15 2 value Ljava/lang/Object;
5 15 3 isString Z
MethodParameters:
Name Flags
name
value
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.management.jfr.Stringifier.sb:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/management/jfr/Stringifier;
}
SourceFile: "Stringifier.java"