class jdk.jshell.Key$MethodKey extends jdk.jshell.Key$DeclarationKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Key$MethodKey
super_class: jdk.jshell.Key$DeclarationKey
{
private final java.lang.String parameterTypes;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.jshell.JShell, java.lang.String, java.lang.String);
descriptor: (Ljdk/jshell/JShell;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial jdk.jshell.Key$DeclarationKey.<init>:(Ljdk/jshell/JShell;Ljava/lang/String;)V
1: aload 0
aload 3
putfield jdk.jshell.Key$MethodKey.parameterTypes:Ljava/lang/String;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/Key$MethodKey;
0 3 1 state Ljdk/jshell/JShell;
0 3 2 name Ljava/lang/String;
0 3 3 parameterTypes Ljava/lang/String;
MethodParameters:
Name Flags
state
name
parameterTypes
jdk.jshell.Snippet$Kind kind();
descriptor: ()Ljdk/jshell/Snippet$Kind;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.jshell.Snippet$Kind.METHOD:Ljdk/jshell/Snippet$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Key$MethodKey;
java.lang.String parameterTypes();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Key$MethodKey.parameterTypes:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Key$MethodKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "MethodKey("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jshell.Key$MethodKey.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.jshell.Key$MethodKey.parameterTypes:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "))#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.jshell.Key$MethodKey.index:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/Key$MethodKey;
}
SourceFile: "Key.java"
NestHost: jdk.jshell.Key
InnerClasses:
abstract DeclarationKey = jdk.jshell.Key$DeclarationKey of jdk.jshell.Key
MethodKey = jdk.jshell.Key$MethodKey of jdk.jshell.Key
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet