class jdk.jshell.Key$VarKey extends jdk.jshell.Key$DeclarationKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Key$VarKey
super_class: jdk.jshell.Key$DeclarationKey
{
void <init>(jdk.jshell.JShell, java.lang.String);
descriptor: (Ljdk/jshell/JShell;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jdk.jshell.Key$DeclarationKey.<init>:(Ljdk/jshell/JShell;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/Key$VarKey;
0 2 1 state Ljdk/jshell/JShell;
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
state
name
public jdk.jshell.Snippet$Kind kind();
descriptor: ()Ljdk/jshell/Snippet$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.jshell.Snippet$Kind.VAR:Ljdk/jshell/Snippet$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Key$VarKey;
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 "VariableKey("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jshell.Key$VarKey.name:()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$VarKey.index:()I
invokevirtual java.lang.StringBuilder.append:(I)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/jshell/Key$VarKey;
}
SourceFile: "Key.java"
NestHost: jdk.jshell.Key
InnerClasses:
abstract DeclarationKey = jdk.jshell.Key$DeclarationKey of jdk.jshell.Key
VarKey = jdk.jshell.Key$VarKey of jdk.jshell.Key
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet