class jdk.internal.jshell.tool.Feedback$Setter$1SetMode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.Feedback$Setter$1SetMode
super_class: java.lang.Object
{
final java.lang.String umode;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String omode;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final boolean commandOption;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean quietOption;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean deleteOption;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean retainOption;
descriptor: Z
flags: (0x0010) ACC_FINAL
final jdk.internal.jshell.tool.Feedback$Setter this$1;
descriptor: Ljdk/internal/jshell/tool/Feedback$Setter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.function.Consumer val$retainer;
descriptor: Ljava/util/function/Consumer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.jshell.tool.Feedback$Setter, java.util.function.Consumer);
descriptor: (Ljdk/internal/jshell/tool/Feedback$Setter;Ljava/util/function/Consumer;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
aload 0
aload 2
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.val$retainer:Ljava/util/function/Consumer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
getfield jdk.internal.jshell.tool.Feedback$Setter.at:Ljdk/internal/jshell/tool/ArgTokenizer;
iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "-command"
aastore
dup
iconst_1
ldc "-quiet"
aastore
dup
iconst_2
ldc "-delete"
aastore
dup
iconst_3
ldc "-retain"
aastore
invokevirtual jdk.internal.jshell.tool.ArgTokenizer.allowedOptions:([Ljava/lang/String;)V
2: aload 0
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.nextModeIdentifier:()Ljava/lang/String;
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.nextModeIdentifier:()Ljava/lang/String;
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
4: aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.checkOptionsAndRemainingInput:()V
5: aload 0
aload 1
getfield jdk.internal.jshell.tool.Feedback$Setter.at:Ljdk/internal/jshell/tool/ArgTokenizer;
ldc "-command"
invokevirtual jdk.internal.jshell.tool.ArgTokenizer.hasOption:(Ljava/lang/String;)Z
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
6: aload 0
aload 1
getfield jdk.internal.jshell.tool.Feedback$Setter.at:Ljdk/internal/jshell/tool/ArgTokenizer;
ldc "-quiet"
invokevirtual jdk.internal.jshell.tool.ArgTokenizer.hasOption:(Ljava/lang/String;)Z
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
7: aload 0
aload 1
getfield jdk.internal.jshell.tool.Feedback$Setter.at:Ljdk/internal/jshell/tool/ArgTokenizer;
ldc "-delete"
invokevirtual jdk.internal.jshell.tool.ArgTokenizer.hasOption:(Ljava/lang/String;)Z
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.deleteOption:Z
8: aload 0
aload 1
getfield jdk.internal.jshell.tool.Feedback$Setter.at:Ljdk/internal/jshell/tool/ArgTokenizer;
ldc "-retain"
invokevirtual jdk.internal.jshell.tool.ArgTokenizer.hasOption:(Ljava/lang/String;)Z
putfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
MethodParameters:
Name Flags
this$0 final
val$retainer final
void delete();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
ifne 1
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.conflicting.options"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
2: goto 26
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
ifeq 5
4: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.mode.unknown"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
7: goto 26
StackMap locals:
StackMap stack:
8: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
ifnull 11
9: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.unexpected.at.end"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
10: goto 26
StackMap locals:
StackMap stack:
11: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
getfield jdk.internal.jshell.tool.Feedback$Mode.name:Ljava/lang/String;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.cannot.delete.current.mode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
13: goto 26
StackMap locals:
StackMap stack:
14: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
ifeq 18
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedCurrentMode:Ljdk/internal/jshell/tool/Feedback$Mode;
ifnull 18
15: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedCurrentMode:Ljdk/internal/jshell/tool/Feedback$Mode;
getfield jdk.internal.jshell.tool.Feedback$Mode.name:Ljava/lang/String;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.cannot.delete.retained.mode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
17: goto 26
18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.Feedback$Mode
astore 1
start local 1 19: aload 1
ifnull 22
aload 1
getfield jdk.internal.jshell.tool.Feedback$Mode.readOnly:Z
ifeq 22
20: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.not.valid.with.predefined.mode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
21: goto 26
22: StackMap locals: jdk.internal.jshell.tool.Feedback$Mode
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
23: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
ifeq 26
24: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
25: aload 0
invokevirtual jdk.internal.jshell.tool.Feedback$Setter$1SetMode.updateRetainedModes:()V
end local 1 26: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
19 26 1 m Ljdk/internal/jshell/tool/Feedback$Mode;
void retain();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
ifne 1
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.conflicting.options"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
2: goto 15
StackMap locals:
StackMap stack:
3: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
ifnull 6
4: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.unexpected.at.end"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
5: goto 15
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.Feedback$Mode
astore 1
start local 1 7: aload 1
ifnonnull 10
8: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.mode.unknown"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
9: goto 15
StackMap locals: jdk.internal.jshell.tool.Feedback$Mode
StackMap stack:
10: aload 1
getfield jdk.internal.jshell.tool.Feedback$Mode.readOnly:Z
ifeq 13
11: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.not.valid.with.predefined.mode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedMap:Ljava/util/Map;
aload 1
getfield jdk.internal.jshell.tool.Feedback$Mode.name:Ljava/lang/String;
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.encode:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
invokevirtual jdk.internal.jshell.tool.Feedback$Setter$1SetMode.updateRetainedModes:()V
end local 1 15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
7 15 1 m Ljdk/internal/jshell/tool/Feedback$Mode;
void updateRetainedModes();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: ldc "\u241E"
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.retainedMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.val$retainer:Ljava/util/function/Consumer;
aload 1
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
1 3 1 encoded Ljava/lang/String;
void create();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
ifeq 3
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
ifeq 3
1: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.conflicting.options"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
2: goto 18
StackMap locals:
StackMap stack:
3: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
ifne 6
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
ifne 6
4: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.mode.creation"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
5: goto 18
StackMap locals:
StackMap stack:
6: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.mode.exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
8: goto 18
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.searchForMode:(Ljava/lang/String;)Ljdk/internal/jshell/tool/Feedback$Mode;
astore 1
start local 1 10: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 18
11: aload 1
ifnull 13
12: new jdk.internal.jshell.tool.Feedback$Mode
dup
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aload 1
invokespecial jdk.internal.jshell.tool.Feedback$Mode.<init>:(Ljava/lang/String;Ljdk/internal/jshell/tool/Feedback$Mode;)V
goto 14
13: StackMap locals: jdk.internal.jshell.tool.Feedback$Mode
StackMap stack:
new jdk.internal.jshell.tool.Feedback$Mode
dup
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
invokespecial jdk.internal.jshell.tool.Feedback$Mode.<init>:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack: jdk.internal.jshell.tool.Feedback$Mode
astore 2
start local 2 15: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
invokestatic jdk.internal.jshell.tool.Feedback$Setter.access$0:(Ljdk/internal/jshell/tool/Feedback$Setter;)Ljdk/internal/jshell/tool/Feedback;
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.msg.feedback.new.mode"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
getfield jdk.internal.jshell.tool.Feedback$Mode.name:Ljava/lang/String;
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.fluffmsg:(Ljava/lang/String;[Ljava/lang/Object;)V
17: aload 2
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.setCommandFluff:(Z)V
end local 2 end local 1 18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
10 18 1 om Ljdk/internal/jshell/tool/Feedback$Mode;
15 18 2 m Ljdk/internal/jshell/tool/Feedback$Mode;
boolean set();
descriptor: ()Z
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 4
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.commandOption:Z
ifne 4
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.quietOption:Z
ifne 4
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.deleteOption:Z
ifne 4
1: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.omode:Ljava/lang/String;
ifnonnull 4
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
ifne 4
2: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
ldc "jshell.err.mode.creation"
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.showModeSettings:(Ljava/lang/String;Ljava/lang/String;)V
3: goto 15
StackMap locals:
StackMap stack:
4: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 7
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.umode:Ljava/lang/String;
ifnonnull 7
5: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.err.missing.mode"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.errorat:(Ljava/lang/String;[Ljava/lang/Object;)V
6: goto 15
StackMap locals:
StackMap stack:
7: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 10
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.deleteOption:Z
ifeq 10
8: aload 0
invokevirtual jdk.internal.jshell.tool.Feedback$Setter$1SetMode.delete:()V
9: goto 15
StackMap locals:
StackMap stack:
10: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 13
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retainOption:Z
ifeq 13
11: aload 0
invokevirtual jdk.internal.jshell.tool.Feedback$Setter$1SetMode.retain:()V
12: goto 15
StackMap locals:
StackMap stack:
13: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifeq 15
14: aload 0
invokevirtual jdk.internal.jshell.tool.Feedback$Setter$1SetMode.create:()V
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ifne 17
16: aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
ldc "jshell.msg.see"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "/help /set mode"
aastore
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.fluffmsg:(Ljava/lang/String;[Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.Feedback$Setter$1SetMode.this$1:Ljdk/internal/jshell/tool/Feedback$Setter;
getfield jdk.internal.jshell.tool.Feedback$Setter.valid:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/internal/jshell/tool/Feedback$Setter$1SetMode;
}
SourceFile: "Feedback.java"
EnclosingMethod: jdk.internal.jshell.tool.Feedback$Setter.setMode:(Ljava/util/function/Consumer;)Z
NestHost: jdk.internal.jshell.tool.Feedback
InnerClasses:
private Mode = jdk.internal.jshell.tool.Feedback$Mode of jdk.internal.jshell.tool.Feedback
private Setter = jdk.internal.jshell.tool.Feedback$Setter of jdk.internal.jshell.tool.Feedback
SetMode = jdk.internal.jshell.tool.Feedback$Setter$1SetMode