class jdk.internal.jshell.tool.Feedback
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.Feedback
super_class: java.lang.Object
{
private static final java.util.regex.Pattern FIELD_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String TRUNCATION_FIELD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "<truncation>"
private static final java.lang.String RECORD_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\u241E"
private static final jdk.internal.jshell.tool.Selector VAR_VALUE_ADD_SELECTOR;
descriptor: Ljdk/internal/jshell/tool/Selector;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.internal.jshell.tool.Selector RECORD_TYPEKIND_SELECTOR;
descriptor: Ljdk/internal/jshell/tool/Selector;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private jdk.internal.jshell.tool.Feedback$Mode mode;
descriptor: Ljdk/internal/jshell/tool/Feedback$Mode;
flags: (0x0002) ACC_PRIVATE
private jdk.internal.jshell.tool.Feedback$Mode retainedCurrentMode;
descriptor: Ljdk/internal/jshell/tool/Feedback$Mode;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, jdk.internal.jshell.tool.Feedback$Mode> modeMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/jshell/tool/Feedback$Mode;>;
private final java.util.Map<java.lang.String, java.lang.String> retainedMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=0, args_size=0
0: ldc "\\{(.*?)\\}"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic jdk.internal.jshell.tool.Feedback.FIELD_PATTERN:Ljava/util/regex/Pattern;
1: new jdk.internal.jshell.tool.Selector
dup
2: getstatic jdk.internal.jshell.tool.Selector$FormatCase.VARVALUE:Ljdk/internal/jshell/tool/Selector$FormatCase;
3: getstatic jdk.internal.jshell.tool.Selector$FormatAction.ADDED:Ljdk/internal/jshell/tool/Selector$FormatAction;
4: getstatic jdk.internal.jshell.tool.Selector$FormatWhen.PRIMARY:Ljdk/internal/jshell/tool/Selector$FormatWhen;
5: getstatic jdk.internal.jshell.tool.Selector$FormatResolve.OK:Ljdk/internal/jshell/tool/Selector$FormatResolve;
6: getstatic jdk.internal.jshell.tool.Selector$FormatUnresolved.UNRESOLVED0:Ljdk/internal/jshell/tool/Selector$FormatUnresolved;
7: getstatic jdk.internal.jshell.tool.Selector$FormatErrors.ERROR0:Ljdk/internal/jshell/tool/Selector$FormatErrors;
8: invokespecial jdk.internal.jshell.tool.Selector.<init>:(Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;)V
putstatic jdk.internal.jshell.tool.Feedback.VAR_VALUE_ADD_SELECTOR:Ljdk/internal/jshell/tool/Selector;
9: new jdk.internal.jshell.tool.Selector
dup
10: getstatic jdk.internal.jshell.tool.Selector$FormatCase.RECORD:Ljdk/internal/jshell/tool/Selector$FormatCase;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
11: ldc Ljdk/internal/jshell/tool/Selector$FormatAction;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
12: ldc Ljdk/internal/jshell/tool/Selector$FormatWhen;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
13: ldc Ljdk/internal/jshell/tool/Selector$FormatResolve;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
14: ldc Ljdk/internal/jshell/tool/Selector$FormatUnresolved;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
15: ldc Ljdk/internal/jshell/tool/Selector$FormatErrors;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
16: invokespecial jdk.internal.jshell.tool.Selector.<init>:(Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;Ljava/util/EnumSet;)V
putstatic jdk.internal.jshell.tool.Feedback.RECORD_TYPEKIND_SELECTOR:Ljdk/internal/jshell/tool/Selector;
17: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.internal.jshell.tool.Feedback$Mode
dup
ldc ""
invokespecial jdk.internal.jshell.tool.Feedback$Mode.<init>:(Ljava/lang/String;)V
putfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
2: aload 0
aconst_null
putfield jdk.internal.jshell.tool.Feedback.retainedCurrentMode:Ljdk/internal/jshell/tool/Feedback$Mode;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
4: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.jshell.tool.Feedback.retainedMap:Ljava/util/Map;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jshell/tool/Feedback;
public boolean shouldDisplayCommandFluff();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
getfield jdk.internal.jshell.tool.Feedback$Mode.commandFluff:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
public java.lang.String getPre();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
ldc "pre"
getstatic jdk.internal.jshell.tool.Selector.ANY:Ljdk/internal/jshell/tool/Selector;
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljava/lang/String;Ljdk/internal/jshell/tool/Selector;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
public java.lang.String getPost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
ldc "post"
getstatic jdk.internal.jshell.tool.Selector.ANY:Ljdk/internal/jshell/tool/Selector;
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljava/lang/String;Ljdk/internal/jshell/tool/Selector;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
public java.lang.String getErrorPre();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
ldc "errorpre"
getstatic jdk.internal.jshell.tool.Selector.ANY:Ljdk/internal/jshell/tool/Selector;
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljava/lang/String;Ljdk/internal/jshell/tool/Selector;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
public java.lang.String getErrorPost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
ldc "errorpost"
getstatic jdk.internal.jshell.tool.Selector.ANY:Ljdk/internal/jshell/tool/Selector;
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljava/lang/String;Ljdk/internal/jshell/tool/Selector;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
public java.lang.String format(jdk.internal.jshell.tool.Selector$FormatCase, jdk.internal.jshell.tool.Selector$FormatAction, jdk.internal.jshell.tool.Selector$FormatWhen, jdk.internal.jshell.tool.Selector$FormatResolve, jdk.internal.jshell.tool.Selector$FormatUnresolved, jdk.internal.jshell.tool.Selector$FormatErrors, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
1: aload 7
aload 8
aload 9
aload 10
aload 11
2: invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 3 0 this Ljdk/internal/jshell/tool/Feedback;
0 3 1 fc Ljdk/internal/jshell/tool/Selector$FormatCase;
0 3 2 fa Ljdk/internal/jshell/tool/Selector$FormatAction;
0 3 3 fw Ljdk/internal/jshell/tool/Selector$FormatWhen;
0 3 4 fr Ljdk/internal/jshell/tool/Selector$FormatResolve;
0 3 5 fu Ljdk/internal/jshell/tool/Selector$FormatUnresolved;
0 3 6 fe Ljdk/internal/jshell/tool/Selector$FormatErrors;
0 3 7 name Ljava/lang/String;
0 3 8 type Ljava/lang/String;
0 3 9 value Ljava/lang/String;
0 3 10 unresolved Ljava/lang/String;
0 3 11 errorLines Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
fc
fa
fw
fr
fu
fe
name
type
value
unresolved
errorLines
public java.lang.String format(java.lang.String, jdk.internal.jshell.tool.Selector$FormatCase, jdk.internal.jshell.tool.Selector$FormatAction, jdk.internal.jshell.tool.Selector$FormatWhen, jdk.internal.jshell.tool.Selector$FormatResolve, jdk.internal.jshell.tool.Selector$FormatUnresolved, jdk.internal.jshell.tool.Selector$FormatErrors, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
aload 7
1: aload 8
aload 9
aload 10
aload 11
aload 12
2: invokevirtual jdk.internal.jshell.tool.Feedback$Mode.format:(Ljava/lang/String;Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 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 3 0 this Ljdk/internal/jshell/tool/Feedback;
0 3 1 field Ljava/lang/String;
0 3 2 fc Ljdk/internal/jshell/tool/Selector$FormatCase;
0 3 3 fa Ljdk/internal/jshell/tool/Selector$FormatAction;
0 3 4 fw Ljdk/internal/jshell/tool/Selector$FormatWhen;
0 3 5 fr Ljdk/internal/jshell/tool/Selector$FormatResolve;
0 3 6 fu Ljdk/internal/jshell/tool/Selector$FormatUnresolved;
0 3 7 fe Ljdk/internal/jshell/tool/Selector$FormatErrors;
0 3 8 name Ljava/lang/String;
0 3 9 type Ljava/lang/String;
0 3 10 value Ljava/lang/String;
0 3 11 unresolved Ljava/lang/String;
0 3 12 errorLines Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljdk/internal/jshell/tool/Selector$FormatCase;Ljdk/internal/jshell/tool/Selector$FormatAction;Ljdk/internal/jshell/tool/Selector$FormatWhen;Ljdk/internal/jshell/tool/Selector$FormatResolve;Ljdk/internal/jshell/tool/Selector$FormatUnresolved;Ljdk/internal/jshell/tool/Selector$FormatErrors;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
field
fc
fa
fw
fr
fu
fe
name
type
value
unresolved
errorLines
public java.lang.String truncateVarValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.truncateVarValue:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.String getPrompt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.getPrompt:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 nextId Ljava/lang/String;
MethodParameters:
Name Flags
nextId
public java.lang.String getContinuationPrompt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.mode:Ljdk/internal/jshell/tool/Feedback$Mode;
aload 1
invokevirtual jdk.internal.jshell.tool.Feedback$Mode.getContinuationPrompt:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 nextId Ljava/lang/String;
MethodParameters:
Name Flags
nextId
public boolean setFeedback(jdk.internal.jshell.tool.MessageHandler, jdk.internal.jshell.tool.ArgTokenizer, java.util.function.Consumer<java.lang.String>);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;Ljava/util/function/Consumer;)Z
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: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
aload 3
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.setFeedback:(Ljava/util/function/Consumer;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 at Ljdk/internal/jshell/tool/ArgTokenizer;
0 1 3 retainer Ljava/util/function/Consumer<Ljava/lang/String;>;
Signature: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;Ljava/util/function/Consumer<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
messageHandler
at
retainer
public boolean setFormat(jdk.internal.jshell.tool.MessageHandler, jdk.internal.jshell.tool.ArgTokenizer);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.setFormat:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 at Ljdk/internal/jshell/tool/ArgTokenizer;
MethodParameters:
Name Flags
messageHandler
at
public boolean setTruncation(jdk.internal.jshell.tool.MessageHandler, jdk.internal.jshell.tool.ArgTokenizer);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.setTruncation:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 at Ljdk/internal/jshell/tool/ArgTokenizer;
MethodParameters:
Name Flags
messageHandler
at
public boolean setMode(jdk.internal.jshell.tool.MessageHandler, jdk.internal.jshell.tool.ArgTokenizer, java.util.function.Consumer<java.lang.String>);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;Ljava/util/function/Consumer;)Z
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: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
aload 3
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.setMode:(Ljava/util/function/Consumer;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 at Ljdk/internal/jshell/tool/ArgTokenizer;
0 1 3 retainer Ljava/util/function/Consumer<Ljava/lang/String;>;
Signature: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;Ljava/util/function/Consumer<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
messageHandler
at
retainer
public boolean setPrompt(jdk.internal.jshell.tool.MessageHandler, jdk.internal.jshell.tool.ArgTokenizer);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.setPrompt:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 at Ljdk/internal/jshell/tool/ArgTokenizer;
MethodParameters:
Name Flags
messageHandler
at
public boolean restoreEncodedModes(jdk.internal.jshell.tool.MessageHandler, java.lang.String);
descriptor: (Ljdk/internal/jshell/tool/MessageHandler;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.jshell.tool.Feedback$Setter
dup
aload 0
aload 1
new jdk.internal.jshell.tool.ArgTokenizer
dup
ldc "<init>"
ldc ""
invokespecial jdk.internal.jshell.tool.ArgTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokespecial jdk.internal.jshell.tool.Feedback$Setter.<init>:(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/MessageHandler;Ljdk/internal/jshell/tool/ArgTokenizer;)V
aload 2
invokevirtual jdk.internal.jshell.tool.Feedback$Setter.restoreEncodedModes:(Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
0 1 1 messageHandler Ljdk/internal/jshell/tool/MessageHandler;
0 1 2 encoded Ljava/lang/String;
MethodParameters:
Name Flags
messageHandler
encoded
public void markModesReadOnly();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
1: invokedynamic accept()Ljava/util/function/Consumer;
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;)V
jdk/internal/jshell/tool/Feedback.lambda$0(Ljdk/internal/jshell/tool/Feedback$Mode;)V (6)
(Ljdk/internal/jshell/tool/Feedback$Mode;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/Feedback;
jdk.internal.jshell.tool.JShellTool$CompletionProvider modeCompletions();
descriptor: ()Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic jdk.internal.jshell.tool.JShellTool.EMPTY_COMPLETION_PROVIDER:Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
invokevirtual jdk.internal.jshell.tool.Feedback.modeCompletions:(Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/Feedback;
jdk.internal.jshell.tool.JShellTool$CompletionProvider modeCompletions(jdk.internal.jshell.tool.JShellTool$CompletionProvider);
descriptor: (Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.internal.jshell.tool.ContinuousCompletionProvider
dup
1: aload 0
aload 1
invokedynamic get(Ljdk/internal/jshell/tool/Feedback;Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)Ljava/util/function/Supplier;
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;
jdk/internal/jshell/tool/Feedback.lambda$1(Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)Ljava/util/Map; (7)
()Ljava/util/Map;
2: getstatic jdk.internal.jshell.tool.ContinuousCompletionProvider.PERFECT_MATCHER:Ljava/util/function/BiPredicate;
3: invokespecial jdk.internal.jshell.tool.ContinuousCompletionProvider.<init>:(Ljava/util/function/Supplier;Ljava/util/function/BiPredicate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/Feedback;
0 4 1 successor Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
MethodParameters:
Name Flags
successor
private static void lambda$0(jdk.internal.jshell.tool.Feedback$Mode);
descriptor: (Ljdk/internal/jshell/tool/Feedback$Mode;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
dup_x1
putfield jdk.internal.jshell.tool.Feedback$Mode.readOnly:Z
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Ljdk/internal/jshell/tool/Feedback$Mode;
private java.util.Map lambda$1(jdk.internal.jshell.tool.JShellTool$CompletionProvider);
descriptor: (Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)Ljava/util/Map;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.Feedback.modeMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
aload 1
invokedynamic apply(Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;)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/Feedback.lambda$2(Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$CompletionProvider; (6)
(Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/Feedback;
private static jdk.internal.jshell.tool.JShellTool$CompletionProvider lambda$2(jdk.internal.jshell.tool.JShellTool$CompletionProvider, java.lang.String);
descriptor: (Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;Ljava/lang/String;)Ljdk/internal/jshell/tool/JShellTool$CompletionProvider;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 m Ljava/lang/String;
}
SourceFile: "Feedback.java"
NestMembers:
jdk.internal.jshell.tool.Feedback$Mode jdk.internal.jshell.tool.Feedback$Mode$Setting jdk.internal.jshell.tool.Feedback$Setter jdk.internal.jshell.tool.Feedback$Setter$1SetMode
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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
abstract CompletionProvider = jdk.internal.jshell.tool.JShellTool$CompletionProvider of jdk.internal.jshell.tool.JShellTool
public final FormatAction = jdk.internal.jshell.tool.Selector$FormatAction of jdk.internal.jshell.tool.Selector
public final FormatCase = jdk.internal.jshell.tool.Selector$FormatCase of jdk.internal.jshell.tool.Selector
public final FormatErrors = jdk.internal.jshell.tool.Selector$FormatErrors of jdk.internal.jshell.tool.Selector
public final FormatResolve = jdk.internal.jshell.tool.Selector$FormatResolve of jdk.internal.jshell.tool.Selector
public final FormatUnresolved = jdk.internal.jshell.tool.Selector$FormatUnresolved of jdk.internal.jshell.tool.Selector
public final FormatWhen = jdk.internal.jshell.tool.Selector$FormatWhen of jdk.internal.jshell.tool.Selector