final class jdk.internal.jshell.tool.JShellTool$Command
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jshell.tool.JShellTool$Command
super_class: java.lang.Object
{
public final java.lang.String command;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.lang.String helpKey;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final java.util.function.Function<java.lang.String, java.lang.Boolean> run;
descriptor: Ljava/util/function/Function;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;
public final jdk.internal.jshell.tool.JShellTool$CompletionProvider completions;
descriptor: Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final jdk.internal.jshell.tool.JShellTool$CommandKind kind;
descriptor: Ljdk/internal/jshell/tool/JShellTool$CommandKind;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(java.lang.String, java.util.function.Function<java.lang.String, java.lang.Boolean>, jdk.internal.jshell.tool.JShellTool$CompletionProvider);
descriptor: (Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
getstatic jdk.internal.jshell.tool.JShellTool$CommandKind.NORMAL:Ljdk/internal/jshell/tool/JShellTool$CommandKind;
invokespecial jdk.internal.jshell.tool.JShellTool$Command.<init>:(Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/JShellTool$Command;
0 2 1 command Ljava/lang/String;
0 2 2 run Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;
0 2 3 completions Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
Signature: (Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)V
MethodParameters:
Name Flags
command
run
completions
public void <init>(java.lang.String, java.util.function.Function<java.lang.String, java.lang.Boolean>, jdk.internal.jshell.tool.JShellTool$CompletionProvider, jdk.internal.jshell.tool.JShellTool$CommandKind);
descriptor: (Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "help."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
1: aload 2
aload 3
aload 4
invokespecial jdk.internal.jshell.tool.JShellTool$Command.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/JShellTool$Command;
0 3 1 command Ljava/lang/String;
0 3 2 run Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;
0 3 3 completions Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
0 3 4 kind Ljdk/internal/jshell/tool/JShellTool$CommandKind;
Signature: (Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
MethodParameters:
Name Flags
command
run
completions
kind
public void <init>(java.lang.String, java.lang.String, jdk.internal.jshell.tool.JShellTool$CommandKind);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/jshell/tool/JShellTool$Command.lambda$0(Ljava/lang/String;)Ljava/lang/Boolean; (6)
(Ljava/lang/String;)Ljava/lang/Boolean;
2: getstatic jdk.internal.jshell.tool.JShellTool.EMPTY_COMPLETION_PROVIDER:Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
3: aload 3
invokespecial jdk.internal.jshell.tool.JShellTool$Command.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jshell/tool/JShellTool$Command;
0 5 1 command Ljava/lang/String;
0 5 2 helpKey Ljava/lang/String;
0 5 3 kind Ljdk/internal/jshell/tool/JShellTool$CommandKind;
MethodParameters:
Name Flags
command
helpKey
kind
public void <init>(java.lang.String, java.lang.String, java.util.function.Function<java.lang.String, java.lang.Boolean>, jdk.internal.jshell.tool.JShellTool$CompletionProvider, jdk.internal.jshell.tool.JShellTool$CommandKind);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.jshell.tool.JShellTool$Command.command:Ljava/lang/String;
2: aload 0
aload 2
putfield jdk.internal.jshell.tool.JShellTool$Command.helpKey:Ljava/lang/String;
3: aload 0
aload 3
putfield jdk.internal.jshell.tool.JShellTool$Command.run:Ljava/util/function/Function;
4: aload 0
aload 4
putfield jdk.internal.jshell.tool.JShellTool$Command.completions:Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
5: aload 0
aload 5
putfield jdk.internal.jshell.tool.JShellTool$Command.kind:Ljdk/internal/jshell/tool/JShellTool$CommandKind;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/jshell/tool/JShellTool$Command;
0 7 1 command Ljava/lang/String;
0 7 2 helpKey Ljava/lang/String;
0 7 3 run Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;
0 7 4 completions Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
0 7 5 kind Ljdk/internal/jshell/tool/JShellTool$CommandKind;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/Boolean;>;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljdk/internal/jshell/tool/JShellTool$CommandKind;)V
MethodParameters:
Name Flags
command
helpKey
run
completions
kind
private static java.lang.Boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 arg Ljava/lang/String;
}
SourceFile: "JShellTool.java"
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Command = jdk.internal.jshell.tool.JShellTool$Command of jdk.internal.jshell.tool.JShellTool
final CommandKind = jdk.internal.jshell.tool.JShellTool$CommandKind of jdk.internal.jshell.tool.JShellTool
abstract CompletionProvider = jdk.internal.jshell.tool.JShellTool$CompletionProvider of jdk.internal.jshell.tool.JShellTool