class jdk.internal.jshell.tool.JShellTool$NameSpace
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.JShellTool$NameSpace
super_class: java.lang.Object
{
final java.lang.String spaceName;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
private int nextNum;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final jdk.internal.jshell.tool.JShellTool this$0;
descriptor: Ljdk/internal/jshell/tool/JShellTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.jshell.tool.JShellTool, java.lang.String, java.lang.String);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
start local 2 // java.lang.String spaceName
start local 3 // java.lang.String prefix
0: .line 3899
aload 0 /* this */
aload 1
putfield jdk.internal.jshell.tool.JShellTool$NameSpace.this$0:Ljdk/internal/jshell/tool/JShellTool;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 3900
aload 0 /* this */
aload 2 /* spaceName */
putfield jdk.internal.jshell.tool.JShellTool$NameSpace.spaceName:Ljava/lang/String;
2: .line 3901
aload 0 /* this */
aload 3 /* prefix */
putfield jdk.internal.jshell.tool.JShellTool$NameSpace.prefix:Ljava/lang/String;
3: .line 3902
aload 0 /* this */
iconst_1
putfield jdk.internal.jshell.tool.JShellTool$NameSpace.nextNum:I
4: .line 3903
return
end local 3 // java.lang.String prefix
end local 2 // java.lang.String spaceName
end local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jshell/tool/JShellTool$NameSpace;
0 5 2 spaceName Ljava/lang/String;
0 5 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
spaceName
prefix
java.lang.String tid(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
start local 1 // jdk.jshell.Snippet sn
0: .line 3906
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield jdk.internal.jshell.tool.JShellTool$NameSpace.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
dup
getfield jdk.internal.jshell.tool.JShellTool$NameSpace.nextNum:I
dup_x1
iconst_1
iadd
putfield jdk.internal.jshell.tool.JShellTool$NameSpace.nextNum:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2 /* tid */
start local 2 // java.lang.String tid
1: .line 3907
aload 0 /* this */
getfield jdk.internal.jshell.tool.JShellTool$NameSpace.this$0:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.mapSnippet:Ljava/util/Map;
aload 1 /* sn */
new jdk.internal.jshell.tool.JShellTool$SnippetInfo
dup
aload 1 /* sn */
aload 0 /* this */
aload 2 /* tid */
invokespecial jdk.internal.jshell.tool.JShellTool$SnippetInfo.<init>:(Ljdk/jshell/Snippet;Ljdk/internal/jshell/tool/JShellTool$NameSpace;Ljava/lang/String;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: .line 3908
aload 2 /* tid */
areturn
end local 2 // java.lang.String tid
end local 1 // jdk.jshell.Snippet sn
end local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/JShellTool$NameSpace;
0 3 1 sn Ljdk/jshell/Snippet;
1 3 2 tid Ljava/lang/String;
MethodParameters:
Name Flags
sn
java.lang.String tidNext();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
0: .line 3912
new java.lang.StringBuilder
dup
aload 0 /* this */
getfield jdk.internal.jshell.tool.JShellTool$NameSpace.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
getfield jdk.internal.jshell.tool.JShellTool$NameSpace.nextNum:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 // jdk.internal.jshell.tool.JShellTool$NameSpace this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/JShellTool$NameSpace;
}
SourceFile: "JShellTool.java"
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
NameSpace = jdk.internal.jshell.tool.JShellTool$NameSpace of jdk.internal.jshell.tool.JShellTool
SnippetInfo = jdk.internal.jshell.tool.JShellTool$SnippetInfo of jdk.internal.jshell.tool.JShellTool