class jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine extends jdk.internal.jshell.tool.JShellTool$OptionParserBase
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine
super_class: jdk.internal.jshell.tool.JShellTool$OptionParserBase
{
private final jdk.internal.joptsimple.OptionSpec<java.lang.String> argStart;
descriptor: Ljdk/internal/joptsimple/OptionSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/joptsimple/OptionSpec<Ljava/lang/String;>;
private final jdk.internal.joptsimple.OptionSpecBuilder argNoStart;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpec<java.lang.String> argFeedback;
descriptor: Ljdk/internal/joptsimple/OptionSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/joptsimple/OptionSpec<Ljava/lang/String;>;
private final jdk.internal.joptsimple.OptionSpec<java.lang.String> argExecution;
descriptor: Ljdk/internal/joptsimple/OptionSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/joptsimple/OptionSpec<Ljava/lang/String;>;
private final jdk.internal.joptsimple.OptionSpecBuilder argQ;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argS;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argV;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpec<java.lang.String> argR;
descriptor: Ljdk/internal/joptsimple/OptionSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/joptsimple/OptionSpec<Ljava/lang/String;>;
private final jdk.internal.joptsimple.OptionSpec<java.lang.String> argC;
descriptor: Ljdk/internal/joptsimple/OptionSpec;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/internal/joptsimple/OptionSpec<Ljava/lang/String;>;
private final jdk.internal.joptsimple.OptionSpecBuilder argHelp;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argVersion;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argFullVersion;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argShowVersion;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.joptsimple.OptionSpecBuilder argHelpExtra;
descriptor: Ljdk/internal/joptsimple/OptionSpecBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String feedbackMode;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private jdk.internal.jshell.tool.Startup initialStartup;
descriptor: Ljdk/internal/jshell/tool/Startup;
flags: (0x0002) ACC_PRIVATE
final jdk.internal.jshell.tool.JShellTool this$0;
descriptor: Ljdk/internal/jshell/tool/JShellTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.internal.jshell.tool.JShellTool);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
aload 0
aload 1
invokespecial jdk.internal.jshell.tool.JShellTool$OptionParserBase.<init>:(Ljdk/internal/jshell/tool/JShellTool;)V
1: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "startup"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSpecBuilder.withRequiredArg:()Ljdk/internal/joptsimple/ArgumentAcceptingOptionSpec;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argStart:Ljdk/internal/joptsimple/OptionSpec;
2: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "n"
aastore
dup
iconst_1
ldc "no-startup"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual jdk.internal.joptsimple.OptionParser.acceptsAll:(Ljava/util/Collection;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argNoStart:Ljdk/internal/joptsimple/OptionSpecBuilder;
3: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "feedback"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSpecBuilder.withRequiredArg:()Ljdk/internal/joptsimple/ArgumentAcceptingOptionSpec;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFeedback:Ljdk/internal/joptsimple/OptionSpec;
4: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "execution"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSpecBuilder.withRequiredArg:()Ljdk/internal/joptsimple/ArgumentAcceptingOptionSpec;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argExecution:Ljdk/internal/joptsimple/OptionSpec;
5: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "q"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argQ:Ljdk/internal/joptsimple/OptionSpecBuilder;
6: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "s"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argS:Ljdk/internal/joptsimple/OptionSpecBuilder;
7: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "v"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argV:Ljdk/internal/joptsimple/OptionSpecBuilder;
8: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "R"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSpecBuilder.withRequiredArg:()Ljdk/internal/joptsimple/ArgumentAcceptingOptionSpec;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argR:Ljdk/internal/joptsimple/OptionSpec;
9: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "C"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSpecBuilder.withRequiredArg:()Ljdk/internal/joptsimple/ArgumentAcceptingOptionSpec;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argC:Ljdk/internal/joptsimple/OptionSpec;
10: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "h"
aastore
dup
iconst_1
ldc "help"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual jdk.internal.joptsimple.OptionParser.acceptsAll:(Ljava/util/Collection;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argHelp:Ljdk/internal/joptsimple/OptionSpecBuilder;
11: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "version"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
12: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "full-version"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFullVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
13: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
ldc "show-version"
invokevirtual jdk.internal.joptsimple.OptionParser.accepts:(Ljava/lang/String;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argShowVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
14: aload 0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.parser:Ljdk/internal/joptsimple/OptionParser;
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "X"
aastore
dup
iconst_1
ldc "help-extra"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual jdk.internal.joptsimple.OptionParser.acceptsAll:(Ljava/util/Collection;)Ljdk/internal/joptsimple/OptionSpecBuilder;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argHelpExtra:Ljdk/internal/joptsimple/OptionSpecBuilder;
15: aload 0
aconst_null
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
16: aload 0
aconst_null
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/jshell/tool/JShellTool$OptionParserCommandLine;
MethodParameters:
Name Flags
this$0 final
java.lang.String feedbackMode();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/JShellTool$OptionParserCommandLine;
jdk.internal.jshell.tool.Startup startup();
descriptor: ()Ljdk/internal/jshell/tool/Startup;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/JShellTool$OptionParserCommandLine;
void msg(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
aload 1
aload 2
invokevirtual jdk.internal.jshell.tool.JShellTool.startmsg:(Ljava/lang/String;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/JShellTool$OptionParserCommandLine;
0 2 1 key Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
jdk.internal.jshell.tool.JShellTool$Options parse(jdk.internal.joptsimple.OptionSet);
descriptor: (Ljdk/internal/joptsimple/OptionSet;)Ljdk/internal/jshell/tool/JShellTool$Options;
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argHelp:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 3
1: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokevirtual jdk.internal.jshell.tool.JShellTool.printUsage:()V
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argHelpExtra:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 6
4: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokevirtual jdk.internal.jshell.tool.JShellTool.printUsageX:()V
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 9
7: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.cmdout:Ljava/io/PrintStream;
ldc "jshell %s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokevirtual jdk.internal.jshell.tool.JShellTool.version:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFullVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 12
10: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.cmdout:Ljava/io/PrintStream;
ldc "jshell %s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokevirtual jdk.internal.jshell.tool.JShellTool.fullVersion:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argShowVersion:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 14
13: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.cmdout:Ljava/io/PrintStream;
ldc "jshell %s\n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokevirtual jdk.internal.jshell.tool.JShellTool.version:()Ljava/lang/String;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
14: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFeedback:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valuesOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/util/List;
invokeinterface java.util.List.size:()I
15: aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argQ:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 16
iconst_1
goto 17
StackMap locals:
StackMap stack: int
16: iconst_0
17: StackMap locals: jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine jdk.internal.joptsimple.OptionSet
StackMap stack: int int
iadd
18: aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argS:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 19
iconst_1
goto 20
StackMap locals:
StackMap stack: int
19: iconst_0
20: StackMap locals: jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine jdk.internal.joptsimple.OptionSet
StackMap stack: int int
iadd
21: aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argV:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 22
iconst_1
goto 23
StackMap locals:
StackMap stack: int
22: iconst_0
23: StackMap locals: jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine jdk.internal.joptsimple.OptionSet
StackMap stack: int int
iadd
24: iconst_1
if_icmple 27
25: aload 0
ldc "jshell.err.opt.feedback.one"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.msg:(Ljava/lang/String;[Ljava/lang/Object;)V
26: aconst_null
areturn
27: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFeedback:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 30
28: aload 0
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argFeedback:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valueOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
29: goto 38
StackMap locals:
StackMap stack:
30: aload 1
ldc "q"
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljava/lang/String;)Z
ifeq 33
31: aload 0
ldc "concise"
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
32: goto 38
StackMap locals:
StackMap stack:
33: aload 1
ldc "s"
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljava/lang/String;)Z
ifeq 36
34: aload 0
ldc "silent"
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
35: goto 38
StackMap locals:
StackMap stack:
36: aload 1
ldc "v"
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljava/lang/String;)Z
ifeq 38
37: aload 0
ldc "verbose"
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.feedbackMode:Ljava/lang/String;
38: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argStart:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 46
39: aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argStart:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valuesOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/util/List;
astore 2
start local 2 40: aload 1
ldc "no-startup"
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljava/lang/String;)Z
ifeq 43
41: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
ldc "jshell.err.opt.startup.conflict"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.JShellTool.startmsg:(Ljava/lang/String;[Ljava/lang/Object;)V
42: aconst_null
areturn
43: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 2
ldc "--startup"
new jdk.internal.jshell.tool.JShellTool$InitMessageHandler
dup
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokespecial jdk.internal.jshell.tool.JShellTool$InitMessageHandler.<init>:(Ljdk/internal/jshell/tool/JShellTool;)V
invokestatic jdk.internal.jshell.tool.Startup.fromFileList:(Ljava/util/List;Ljava/lang/String;Ljdk/internal/jshell/tool/MessageHandler;)Ljdk/internal/jshell/tool/Startup;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
44: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
ifnonnull 51
45: aconst_null
areturn
end local 2 46: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argNoStart:Ljdk/internal/joptsimple/OptionSpecBuilder;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 49
47: aload 0
invokestatic jdk.internal.jshell.tool.Startup.noStartup:()Ljdk/internal/jshell/tool/Startup;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
48: goto 51
49: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
ldc "STARTUP"
invokeinterface jdk.internal.jshell.tool.PersistentStorage.get:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 50: aload 0
aload 2
new jdk.internal.jshell.tool.JShellTool$InitMessageHandler
dup
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
invokespecial jdk.internal.jshell.tool.JShellTool$InitMessageHandler.<init>:(Ljdk/internal/jshell/tool/JShellTool;)V
invokestatic jdk.internal.jshell.tool.Startup.unpack:(Ljava/lang/String;Ljdk/internal/jshell/tool/MessageHandler;)Ljdk/internal/jshell/tool/Startup;
putfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.initialStartup:Ljdk/internal/jshell/tool/Startup;
end local 2 51: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argExecution:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.has:(Ljdk/internal/joptsimple/OptionSpec;)Z
ifeq 53
52: aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.this$0:Ljdk/internal/jshell/tool/JShellTool;
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argExecution:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valueOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.internal.jshell.tool.JShellTool.executionControlSpec:Ljava/lang/String;
53: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.jshell.tool.JShellTool$OptionKind.TO_REMOTE_VM:Ljdk/internal/jshell/tool/JShellTool$OptionKind;
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argR:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valuesOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/util/List;
invokevirtual jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.addOptions:(Ljdk/internal/jshell/tool/JShellTool$OptionKind;Ljava/util/Collection;)V
54: aload 0
getstatic jdk.internal.jshell.tool.JShellTool$OptionKind.TO_COMPILER:Ljdk/internal/jshell/tool/JShellTool$OptionKind;
aload 1
aload 0
getfield jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.argC:Ljdk/internal/joptsimple/OptionSpec;
invokevirtual jdk.internal.joptsimple.OptionSet.valuesOf:(Ljdk/internal/joptsimple/OptionSpec;)Ljava/util/List;
invokevirtual jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine.addOptions:(Ljdk/internal/jshell/tool/JShellTool$OptionKind;Ljava/util/Collection;)V
55: aload 0
aload 1
invokespecial jdk.internal.jshell.tool.JShellTool$OptionParserBase.parse:(Ljdk/internal/joptsimple/OptionSet;)Ljdk/internal/jshell/tool/JShellTool$Options;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Ljdk/internal/jshell/tool/JShellTool$OptionParserCommandLine;
0 56 1 options Ljdk/internal/joptsimple/OptionSet;
40 46 2 sts Ljava/util/List<Ljava/lang/String;>;
50 51 2 packedStartup Ljava/lang/String;
MethodParameters:
Name Flags
options
}
SourceFile: "JShellTool.java"
NestHost: jdk.internal.jshell.tool.JShellTool
InnerClasses:
private InitMessageHandler = jdk.internal.jshell.tool.JShellTool$InitMessageHandler of jdk.internal.jshell.tool.JShellTool
private final OptionKind = jdk.internal.jshell.tool.JShellTool$OptionKind of jdk.internal.jshell.tool.JShellTool
private OptionParserBase = jdk.internal.jshell.tool.JShellTool$OptionParserBase of jdk.internal.jshell.tool.JShellTool
private OptionParserCommandLine = jdk.internal.jshell.tool.JShellTool$OptionParserCommandLine of jdk.internal.jshell.tool.JShellTool
private Options = jdk.internal.jshell.tool.JShellTool$Options of jdk.internal.jshell.tool.JShellTool