final class jdk.jfr.consumer.ParserFactory$StringParser extends jdk.jfr.consumer.Parser
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.ParserFactory$StringParser
super_class: jdk.jfr.consumer.Parser
{
private final jdk.jfr.consumer.ConstantMap stringConstantMap;
descriptor: Ljdk/jfr/consumer/ConstantMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String last;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(jdk.jfr.consumer.ConstantMap);
descriptor: (Ljdk/jfr/consumer/ConstantMap;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.jfr.consumer.Parser.<init>:()V
1: aload 0
aload 1
putfield jdk.jfr.consumer.ParserFactory$StringParser.stringConstantMap:Ljdk/jfr/consumer/ConstantMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/ParserFactory$StringParser;
0 3 1 stringConstantMap Ljdk/jfr/consumer/ConstantMap;
MethodParameters:
Name Flags
stringConstantMap
public java.lang.Object parse(jdk.jfr.internal.consumer.RecordingInput);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jfr.consumer.ParserFactory$StringParser.parseEncodedString:(Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
aload 0
getfield jdk.jfr.consumer.ParserFactory$StringParser.last:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 3
2: aload 0
aload 2
putfield jdk.jfr.consumer.ParserFactory$StringParser.last:Ljava/lang/String;
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield jdk.jfr.consumer.ParserFactory$StringParser.last:Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/consumer/ParserFactory$StringParser;
0 4 1 input Ljdk/jfr/internal/consumer/RecordingInput;
1 4 2 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
private java.lang.String parseEncodedString(jdk.jfr.internal.consumer.RecordingInput);
descriptor: (Ljdk/jfr/internal/consumer/RecordingInput;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readByte:()B
istore 2
start local 2 1: iload 2
iconst_2
if_icmpne 4
2: aload 1
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readLong:()J
lstore 3
start local 3 3: aload 0
getfield jdk.jfr.consumer.ParserFactory$StringParser.stringConstantMap:Ljdk/jfr/consumer/ConstantMap;
lload 3
invokevirtual jdk.jfr.consumer.ConstantMap.get:(J)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 3 4: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual jdk.jfr.internal.consumer.RecordingInput.readEncodedString:(B)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/consumer/ParserFactory$StringParser;
0 5 1 input Ljdk/jfr/internal/consumer/RecordingInput;
1 5 2 encoding B
3 4 3 id J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
}
SourceFile: "ParserFactory.java"
NestHost: jdk.jfr.consumer.ParserFactory
InnerClasses:
private final StringParser = jdk.jfr.consumer.ParserFactory$StringParser of jdk.jfr.consumer.ParserFactory