class jdk.jshell.Key$ImportKey extends jdk.jshell.Key$PersistentKey
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.Key$ImportKey
super_class: jdk.jshell.Key$PersistentKey
{
private final jdk.jshell.Snippet$SubKind snippetKind;
descriptor: Ljdk/jshell/Snippet$SubKind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.jshell.JShell, java.lang.String, jdk.jshell.Snippet$SubKind);
descriptor: (Ljdk/jshell/JShell;Ljava/lang/String;Ljdk/jshell/Snippet$SubKind;)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$PersistentKey.<init>:(Ljdk/jshell/JShell;Ljava/lang/String;)V
1: aload 0
aload 3
putfield jdk.jshell.Key$ImportKey.snippetKind:Ljdk/jshell/Snippet$SubKind;
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$ImportKey;
0 3 1 state Ljdk/jshell/JShell;
0 3 2 name Ljava/lang/String;
0 3 3 snippetKind Ljdk/jshell/Snippet$SubKind;
MethodParameters:
Name Flags
state
name
snippetKind
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.IMPORT:Ljdk/jshell/Snippet$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Key$ImportKey;
jdk.jshell.Snippet$SubKind snippetKind();
descriptor: ()Ljdk/jshell/Snippet$SubKind;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.Key$ImportKey.snippetKind:Ljdk/jshell/Snippet$SubKind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/Key$ImportKey;
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 "ImportKey("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jshell.Key$ImportKey.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;
1: aload 0
getfield jdk.jshell.Key$ImportKey.snippetKind:Ljdk/jshell/Snippet$SubKind;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.jshell.Key$ImportKey.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$ImportKey;
}
SourceFile: "Key.java"
NestHost: jdk.jshell.Key
InnerClasses:
ImportKey = jdk.jshell.Key$ImportKey of jdk.jshell.Key
abstract PersistentKey = jdk.jshell.Key$PersistentKey of jdk.jshell.Key
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet
public final SubKind = jdk.jshell.Snippet$SubKind of jdk.jshell.Snippet