class jdk.internal.jshell.tool.ConsoleIOContext extends jdk.internal.jshell.tool.IOContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext
super_class: jdk.internal.jshell.tool.IOContext
{
private static final java.lang.String HISTORY_LINE_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "HISTORY_LINE_"
final jdk.internal.jshell.tool.JShellTool repl;
descriptor: Ljdk/internal/jshell/tool/JShellTool;
flags: (0x0010) ACC_FINAL
final jdk.internal.jshell.tool.StopDetectingInputStream input;
descriptor: Ljdk/internal/jshell/tool/StopDetectingInputStream;
flags: (0x0010) ACC_FINAL
final jdk.internal.jline.console.ConsoleReader in;
descriptor: Ljdk/internal/jline/console/ConsoleReader;
flags: (0x0010) ACC_FINAL
final jdk.internal.jline.extra.EditingHistory ;
descriptor: Ljdk/internal/jline/extra/EditingHistory;
flags: (0x0010) ACC_FINAL
final jdk.internal.jline.console.history.MemoryHistory userInputHistory;
descriptor: Ljdk/internal/jline/console/history/MemoryHistory;
flags: (0x0010) ACC_FINAL
java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0000)
private static final java.lang.String FIXES_SHORTCUT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "\u001B[Z"
private static final java.lang.String LINE_SEPARATOR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String LINE_SEPARATORS2;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NEEDED_LINES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final long ESCAPE_TIMEOUT;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private byte[] inputBytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int inputBytesPointer;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final jdk.internal.jshell.tool.ConsoleIOContext$FixComputer[] FIX_COMPUTERS;
descriptor: [Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$internal$jshell$tool$ConsoleIOContext$CompletionTask$Result;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATOR:Ljava/lang/String;
1: new java.lang.StringBuilder
dup
getstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATOR:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATOR:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATORS2:Ljava/lang/String;
2: iconst_2
anewarray jdk.internal.jshell.tool.ConsoleIOContext$FixComputer
dup
iconst_0
3: new jdk.internal.jshell.tool.ConsoleIOContext$1
dup
bipush 118
iconst_0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$1.<init>:(CZ)V
aastore
dup
iconst_1
4: new jdk.internal.jshell.tool.ConsoleIOContext$2
dup
bipush 105
iconst_1
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$2.<init>:(CZ)V
aastore
5: putstatic jdk.internal.jshell.tool.ConsoleIOContext.FIX_COMPUTERS:[Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;
6: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.internal.jshell.tool.JShellTool, java.io.InputStream, java.io.PrintStream);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/io/InputStream;Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial jdk.internal.jshell.tool.IOContext.<init>:()V
1: aload 0
new jdk.internal.jline.console.history.MemoryHistory
dup
invokespecial jdk.internal.jline.console.history.MemoryHistory.<init>:()V
putfield jdk.internal.jshell.tool.ConsoleIOContext.userInputHistory:Ljdk/internal/jline/console/history/MemoryHistory;
2: aload 0
ldc ""
putfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
3: aload 0
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
4: aload 0
new jdk.internal.jshell.tool.StopDetectingInputStream
dup
aload 1
invokedynamic run(Ljdk/internal/jshell/tool/JShellTool;)Ljava/lang/Runnable;
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:
()V
jdk/internal/jshell/tool/ConsoleIOContext.lambda$0(Ljdk/internal/jshell/tool/JShellTool;)V (6)
()V
aload 1
invokedynamic accept(Ljdk/internal/jshell/tool/JShellTool;)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/ConsoleIOContext.lambda$1(Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/Exception;)V (6)
(Ljava/lang/Exception;)V
invokespecial jdk.internal.jshell.tool.StopDetectingInputStream.<init>:(Ljava/lang/Runnable;Ljava/util/function/Consumer;)V
putfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
5: ldc "test.jdk"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 8
6: new jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.<init>:(Ljdk/internal/jshell/tool/StopDetectingInputStream;)V
astore 4
start local 4 7: goto 12
end local 4 StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext jdk.internal.jshell.tool.JShellTool java.io.InputStream java.io.PrintStream
StackMap stack:
8: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "windows"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 11
9: new jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.<init>:(Ljdk/internal/jshell/tool/StopDetectingInputStream;)V
astore 4
start local 4 10: goto 12
end local 4 11: StackMap locals:
StackMap stack:
new jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal.<init>:(Ljdk/internal/jshell/tool/StopDetectingInputStream;)V
astore 4
start local 4 12: StackMap locals: jdk.internal.jline.Terminal
StackMap stack:
aload 4
invokeinterface jdk.internal.jline.Terminal.init:()V
13: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 14: aload 0
new jdk.internal.jshell.tool.ConsoleIOContext$3
dup
aload 0
aload 2
aload 3
aload 4
aload 5
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$3.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/io/InputStream;Ljava/io/OutputStream;Ljdk/internal/jline/Terminal;Ljava/util/List;)V
putfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
15: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_0
invokevirtual jdk.internal.jline.console.ConsoleReader.setExpandEvents:(Z)V
16: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setHandleUserInterrupt:(Z)V
17: aload 1
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
invokeinterface jdk.internal.jshell.tool.PersistentStorage.keys:()[Ljava/lang/String;
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
18: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/internal/jshell/tool/ConsoleIOContext.lambda$2(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
19: invokeinterface java.util.stream.Stream.sorted:()Ljava/util/stream/Stream;
20: aload 1
invokedynamic apply(Ljdk/internal/jshell/tool/JShellTool;)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/ConsoleIOContext.lambda$3(Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
21: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
22: astore 6
start local 6 23: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 0
new jdk.internal.jshell.tool.ConsoleIOContext$4
dup
aload 0
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 6
aload 1
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$4.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljdk/internal/jline/console/ConsoleReader;Ljava/lang/Iterable;Ljdk/internal/jshell/tool/JShellTool;)V
dup_x1
putfield jdk.internal.jshell.tool.ConsoleIOContext.history:Ljdk/internal/jline/extra/EditingHistory;
invokevirtual jdk.internal.jline.console.ConsoleReader.setHistory:(Ljdk/internal/jline/console/history/History;)V
24: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setBellEnabled:(Z)V
25: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setCopyPasteDetection:(Z)V
26: aload 0
ldc "\u001B[Z"
aload 0
invokedynamic run(Ljdk/internal/jshell/tool/ConsoleIOContext;)Ljava/lang/Runnable;
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:
()V
jdk/internal/jshell/tool/ConsoleIOContext.lambda$4()V (7)
()V
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext.bind:(Ljava/lang/String;Ljava/lang/Object;)V
27: new jdk.internal.misc.Signal
dup
ldc "CONT"
invokespecial jdk.internal.misc.Signal.<init>:(Ljava/lang/String;)V
new jdk.internal.jshell.tool.ConsoleIOContext$5
dup
aload 0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$5.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;)V
invokestatic jdk.internal.misc.Signal.handle:(Ljdk/internal/misc/Signal;Ljdk/internal/misc/Signal$Handler;)Ljdk/internal/misc/Signal$Handler;
pop
28: goto 30
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext jdk.internal.jshell.tool.JShellTool java.io.InputStream java.io.PrintStream jdk.internal.jline.Terminal java.util.List java.util.List
StackMap stack: java.lang.IllegalArgumentException
29: pop
30: StackMap locals:
StackMap stack:
return
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 31 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 31 1 repl Ljdk/internal/jshell/tool/JShellTool;
0 31 2 cmdin Ljava/io/InputStream;
0 31 3 cmdout Ljava/io/PrintStream;
7 8 4 term Ljdk/internal/jline/Terminal;
10 11 4 term Ljdk/internal/jline/Terminal;
12 31 4 term Ljdk/internal/jline/Terminal;
14 31 5 completionTODO Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;
23 31 6 persistenHistory Ljava/util/List<Ljava/lang/String;>;
Exception table:
from to target type
27 28 29 Class java.lang.IllegalArgumentException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
repl
cmdin
cmdout
public java.lang.String readLine(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
putfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.readLine:(Ljava/lang/String;)Ljava/lang/String;
2: areturn
3: StackMap locals:
StackMap stack: jdk.internal.jline.console.UserInterruptException
astore 3
start local 3 4: new jdk.internal.jshell.tool.IOContext$InputInterruptedException
dup
aload 0
invokespecial jdk.internal.jshell.tool.IOContext$InputInterruptedException.<init>:(Ljdk/internal/jshell/tool/IOContext;)V
aload 3
invokevirtual jdk.internal.jshell.tool.IOContext$InputInterruptedException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast jdk.internal.jshell.tool.IOContext$InputInterruptedException
athrow
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/ConsoleIOContext;
0 5 1 prompt Ljava/lang/String;
0 5 2 prefix Ljava/lang/String;
4 5 3 ex Ljdk/internal/jline/console/UserInterruptException;
Exception table:
from to target type
1 2 3 Class jdk.internal.jline.console.UserInterruptException
Exceptions:
throws java.io.IOException, jdk.internal.jshell.tool.IOContext$InputInterruptedException
MethodParameters:
Name Flags
prompt
prefix
public boolean interactiveOutput();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
public java.lang.Iterable<java.lang.String> currentSessionHistory();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.history:Ljdk/internal/jline/extra/EditingHistory;
invokevirtual jdk.internal.jline.extra.EditingHistory.currentSessionEntries:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
Signature: ()Ljava/lang/Iterable<Ljava/lang/String;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
invokeinterface jdk.internal.jshell.tool.PersistentStorage.keys:()[Ljava/lang/String;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext top int int java.lang.String[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
ldc "HISTORY_LINE_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
aload 1
invokeinterface jdk.internal.jshell.tool.PersistentStorage.remove:(Ljava/lang/String;)V
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.history:Ljdk/internal/jline/extra/EditingHistory;
invokevirtual jdk.internal.jline.extra.EditingHistory.save:()Ljava/util/Collection;
astore 1
start local 1 7: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifne 15
8: aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
iadd
i2d
invokestatic java.lang.Math.log10:(D)D
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 2
start local 2 9: new java.lang.StringBuilder
dup
ldc "HISTORY_LINE_%0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "d"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 10: iconst_0
istore 4
start local 4 11: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 14
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.Collection int java.lang.String int top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 13: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
iinc 4 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 5
invokeinterface jdk.internal.jshell.tool.PersistentStorage.put:(Ljava/lang/String;Ljava/lang/String;)V
end local 5 14: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 4 end local 3 end local 2 15: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.Collection
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
invokeinterface jdk.internal.jshell.tool.PersistentStorage.flush:()V
16: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.shutdown:()V
17: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
invokeinterface jdk.internal.jline.Terminal.restore:()V
18: goto 21
StackMap locals:
StackMap stack: java.lang.Exception
19: astore 2
start local 2 20: new java.io.IOException
dup
aload 2
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.shutdown:()V
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
2 4 1 key Ljava/lang/String;
7 23 1 savedHistory Ljava/util/Collection<+Ljava/lang/String;>;
9 15 2 len I
10 15 3 format Ljava/lang/String;
11 15 4 index I
13 14 5 historyLine Ljava/lang/String;
20 21 2 ex Ljava/lang/Exception;
Exception table:
from to target type
17 18 19 Class java.lang.Exception
Exceptions:
throws java.io.IOException
private void bind(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getKeys:()Ljdk/internal/jline/console/KeyMap;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 9
3: StackMap locals: jdk.internal.jline.console.KeyMap int
StackMap stack:
aload 3
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.toString:(C)Ljava/lang/String;
invokevirtual jdk.internal.jline.console.KeyMap.getBound:(Ljava/lang/CharSequence;)Ljava/lang/Object;
astore 5
start local 5 4: aload 5
instanceof jdk.internal.jline.console.KeyMap
ifeq 7
5: aload 5
checkcast jdk.internal.jline.console.KeyMap
astore 3
6: goto 8
7: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 1
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 2
invokevirtual jdk.internal.jline.console.KeyMap.bind:(Ljava/lang/CharSequence;Ljava/lang/Object;)V
end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 4 10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 11 1 shortcut Ljava/lang/String;
0 11 2 action Ljava/lang/Object;
1 11 3 km Ljdk/internal/jline/console/KeyMap;
2 10 4 i I
4 8 5 value Ljava/lang/Object;
MethodParameters:
Name Flags
shortcut
action
private boolean complete(java.util.List<jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask>);
descriptor: (Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=17, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
invokevirtual jdk.internal.jline.console.CursorBuffer.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
getfield jdk.internal.jline.console.CursorBuffer.cursor:I
istore 3
start local 3 2: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 73
3: iconst_1
newarray 10
dup
iconst_0
iconst_m1
iastore
astore 4
start local 4 4: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
iconst_1
goto 6
StackMap locals: java.lang.String int int[]
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 7
start local 7 7: iload 7
ifeq 11
8: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
aload 2
iload 3
aload 4
invokevirtual jdk.internal.jshell.tool.JShellTool.commandCompletionSuggestions:(Ljava/lang/String;I[I)Ljava/util/List;
astore 5
start local 5 9: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
aload 2
iload 3
iconst_1
invokevirtual jdk.internal.jshell.tool.JShellTool.commandDocumentation:(Ljava/lang/String;IZ)Ljava/util/List;
astore 6
start local 6 10: goto 19
end local 6 end local 5 11: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int int[] top top int
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 8
start local 8 12: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.analysis:Ljdk/jshell/SourceCodeAnalysis;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 3
iload 8
iadd
aload 4
invokevirtual jdk.jshell.SourceCodeAnalysis.completionSuggestions:(Ljava/lang/String;I[I)Ljava/util/List;
astore 5
start local 5 13: aload 4
iconst_0
dup2
iaload
iload 8
isub
iastore
14: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
getfield jdk.internal.jshell.tool.JShellTool.analysis:Ljdk/jshell/SourceCodeAnalysis;
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 3
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
iconst_0
invokevirtual jdk.jshell.SourceCodeAnalysis.documentation:(Ljava/lang/String;IZ)Ljava/util/List;
15: invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
16: 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/jshell/SourceCodeAnalysis$Documentation.signature()Ljava/lang/String; (9 itf)
(Ljdk/jshell/SourceCodeAnalysis$Documentation;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
17: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
18: astore 6
end local 8 start local 6 19: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int int[] java.util.List java.util.List int
StackMap stack:
aload 5
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/jshell/SourceCodeAnalysis$Suggestion.matchesType()Z (9 itf)
(Ljdk/jshell/SourceCodeAnalysis$Suggestion;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.count:()J
lstore 8
start local 8 20: lload 8
lconst_0
lcmp
ifle 21
lload 8
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getAutoprintThreshold:()I
i2l
lcmp
ifgt 21
iconst_1
goto 22
StackMap locals: long
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 10
start local 10 23: iload 10
ifeq 30
24: aload 5
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
25: 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/ConsoleIOContext.lambda$7(Ljdk/jshell/SourceCodeAnalysis$Suggestion;)Ljava/lang/Boolean; (6)
(Ljdk/jshell/SourceCodeAnalysis$Suggestion;)Ljava/lang/Boolean;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
26: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
27: invokeinterface java.util.stream.Stream.count:()J
ldc 2
28: lcmp
ifne 30
29: iconst_1
goto 31
StackMap locals: int
StackMap stack:
30: iconst_0
StackMap locals:
StackMap stack: int
31: istore 11
start local 11 32: aload 5
invokeinterface java.util.List.size:()I
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getAutoprintThreshold:()I
if_icmple 33
iconst_1
goto 34
StackMap locals: int
StackMap stack:
33: iconst_0
StackMap locals:
StackMap stack: int
34: istore 12
start local 12 35: new jdk.internal.jshell.tool.ConsoleIOContext$OrdinaryCompletionTask
dup
aload 0
aload 5
aload 4
iconst_0
iaload
iload 7
ifne 36
aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 36
iconst_1
goto 37
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int int[] java.util.List java.util.List int long int int int
StackMap stack: new 35 new 35 jdk.internal.jshell.tool.ConsoleIOContext java.util.List int
36: iconst_0
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int int[] java.util.List java.util.List int long int int int
StackMap stack: new 35 new 35 jdk.internal.jshell.tool.ConsoleIOContext java.util.List int int
37: iload 10
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$OrdinaryCompletionTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;IZZ)V
astore 13
start local 13 38: new jdk.internal.jshell.tool.ConsoleIOContext$AllSuggestionsCompletionTask
dup
aload 0
aload 5
aload 4
iconst_0
iaload
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$AllSuggestionsCompletionTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;I)V
astore 14
start local 14 39: iload 7
ifeq 53
40: new jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask
dup
aload 0
aload 6
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;)V
astore 15
start local 15 41: new jdk.internal.jshell.tool.ConsoleIOContext$CommandFullDocumentationTask
dup
aload 0
aload 1
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$CommandFullDocumentationTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;)V
astore 16
start local 16 42: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 51
43: iload 12
ifeq 47
44: aload 1
new jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask
dup
aload 0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
45: aload 1
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
46: goto 48
47: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int int[] java.util.List java.util.List int long int int int jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
StackMap stack:
aload 1
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
48: StackMap locals:
StackMap stack:
aload 1
aload 15
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
49: aload 1
aload 16
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
50: goto 73
51: StackMap locals:
StackMap stack:
aload 1
new jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask
dup
aload 0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 16 end local 15 52: goto 73
53: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.List.isEmpty:()Z
ifeq 62
54: iload 10
ifeq 57
55: aload 1
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
56: goto 59
StackMap locals:
StackMap stack:
57: iload 12
ifeq 59
58: aload 1
new jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask
dup
aload 0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
59: StackMap locals:
StackMap stack:
iload 10
ifeq 60
iload 11
ifeq 73
60: StackMap locals:
StackMap stack:
aload 1
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
61: goto 73
62: StackMap locals:
StackMap stack:
new jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask
dup
aload 0
aload 6
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;)V
astore 15
start local 15 63: new jdk.internal.jshell.tool.ConsoleIOContext$ExpressionJavadocTask
dup
aload 0
aload 1
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$ExpressionJavadocTask.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;Ljava/util/List;)V
astore 16
start local 16 64: iload 10
ifeq 66
65: aload 1
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
66: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
StackMap stack:
aload 1
aload 15
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
67: iload 10
ifeq 68
iload 11
ifeq 69
68: StackMap locals:
StackMap stack:
aload 1
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
69: StackMap locals:
StackMap stack:
iload 12
ifeq 72
70: aload 1
aload 1
invokeinterface java.util.List.size:()I
iconst_1
isub
aload 16
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
71: goto 73
72: StackMap locals:
StackMap stack:
aload 1
aload 16
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 8 end local 7 end local 6 end local 5 end local 4 73: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.lang.String int
StackMap stack:
iconst_0
istore 4
start local 4 74: iconst_1
istore 5
start local 5 75: goto 86
76: StackMap locals: int int
StackMap stack:
aload 1
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
aload 2
iload 3
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask.perform:(Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
astore 6
start local 6 77: invokestatic jdk.internal.jshell.tool.ConsoleIOContext.$SWITCH_TABLE$jdk$internal$jshell$tool$ConsoleIOContext$CompletionTask$Result:()[I
aload 6
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 82
2: 78
3: 81
4: 80
5: 79
default: 86
}
78: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result
StackMap stack:
goto 86
79: StackMap locals:
StackMap stack:
iconst_0
istore 5
80: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.clear:()V
81: StackMap locals:
StackMap stack:
iconst_1
istore 4
82: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 87
83: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
84: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask.description:()Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
85: goto 87
end local 6 86: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 76
87: StackMap locals:
StackMap stack:
iload 5
ifeq 90
88: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
89: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
90: StackMap locals:
StackMap stack:
iload 4
91: ireturn
end local 5 end local 4 end local 3 end local 2 92: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List
StackMap stack: java.io.IOException
astore 2
start local 2 93: new java.lang.IllegalStateException
dup
aload 2
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 94 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 94 1 todo Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;
1 92 2 text Ljava/lang/String;
2 92 3 cursor I
4 73 4 anchor [I
9 11 5 suggestions Ljava/util/List<Ljdk/jshell/SourceCodeAnalysis$Suggestion;>;
13 73 5 suggestions Ljava/util/List<Ljdk/jshell/SourceCodeAnalysis$Suggestion;>;
10 11 6 doc Ljava/util/List<Ljava/lang/String;>;
19 73 6 doc Ljava/util/List<Ljava/lang/String;>;
7 73 7 command Z
12 19 8 prefixLength I
20 73 8 smartCount J
23 73 10 hasSmart Z
32 73 11 hasBoth Z
35 73 12 tooManyItems Z
38 73 13 ordinaryCompletion Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
39 73 14 allCompletion Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
41 52 15 shortDocumentation Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
42 52 16 fullDocumentation Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
63 73 15 shortDocumentation Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
64 73 16 fullDocumentation Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;
74 92 4 success Z
75 92 5 repaint Z
77 86 6 result Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
93 94 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 91 92 Class java.io.IOException
Signature: (Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;)Z
MethodParameters:
Name Flags
todo
private jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result doPrintFullDocumentation(java.util.List<jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask>, java.util.List<java.lang.String>, boolean);
descriptor: (Ljava/util/List;Ljava/util/List;Z)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 24
aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 24
1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
astore 4
start local 4 2: aload 4
invokeinterface jdk.internal.jline.Terminal.getHeight:()I
iconst_4
isub
istore 5
start local 5 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
start local 7 5: goto 21
6: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.util.List int jdk.internal.jline.Terminal int java.util.List java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 7: aload 8
ldc "\n"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 9
start local 9 8: iconst_0
istore 10
start local 10 9: goto 20
10: StackMap locals: java.lang.String java.lang.String[] int
StackMap stack:
iload 10
ifne 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 11
start local 11 13: aload 9
14: iload 10
15: iload 10
iload 5
iadd
aload 9
arraylength
invokestatic java.lang.Math.min:(II)I
16: invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast java.lang.String[]
17: astore 12
start local 12 18: aload 6
new jdk.internal.jshell.tool.ConsoleIOContext$6
dup
aload 0
iload 11
iload 3
aload 12
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$6.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;ZZ[Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: iload 10
iload 5
iadd
istore 10
end local 12 end local 11 20: StackMap locals:
StackMap stack:
iload 10
aload 9
arraylength
if_icmplt 10
end local 10 end local 9 end local 8 21: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 7 22: aload 1
iconst_0
aload 6
invokeinterface java.util.List.addAll:(ILjava/util/Collection;)Z
pop
23: getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.CONTINUE:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
areturn
end local 6 end local 5 end local 4 24: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext java.util.List java.util.List int
StackMap stack:
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.FINISH:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 25 1 todo Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;
0 25 2 doc Ljava/util/List<Ljava/lang/String;>;
0 25 3 command Z
2 24 4 term Ljdk/internal/jline/Terminal;
3 24 5 pageHeight I
4 24 6 thisTODO Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;
5 22 7 docIt Ljava/util/Iterator<Ljava/lang/String;>;
7 21 8 currentDoc Ljava/lang/String;
8 21 9 lines [Ljava/lang/String;
9 21 10 firstLine I
13 20 11 first Z
18 20 12 thisPageLines [Ljava/lang/String;
Signature: (Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask;>;Ljava/util/List<Ljava/lang/String;>;Z)Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
MethodParameters:
Name Flags
todo
doc
command
private static java.lang.String commonPrefix(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iconst_0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 str1 Ljava/lang/String;
0 7 1 str2 Ljava/lang/String;
1 6 2 i I
MethodParameters:
Name Flags
str1
str2
public boolean terminalEditorRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
astore 1
start local 1 1: aload 1
instanceof jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
ifeq 3
2: aload 1
checkcast jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal.isRaw:()Z
ireturn
3: StackMap locals: jdk.internal.jline.Terminal
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
1 4 1 terminal Ljdk/internal/jline/Terminal;
public void suspend();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
astore 1
start local 1 1: aload 1
instanceof jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
ifeq 3
2: aload 1
checkcast jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal.suspend:()V
3: StackMap locals: jdk.internal.jline.Terminal
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
1 4 1 terminal Ljdk/internal/jline/Terminal;
public void resume();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getTerminal:()Ljdk/internal/jline/Terminal;
astore 1
start local 1 1: aload 1
instanceof jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
ifeq 3
2: aload 1
checkcast jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal.resume:()V
3: StackMap locals: jdk.internal.jline.Terminal
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
1 4 1 terminal Ljdk/internal/jline/Terminal;
public void beforeUserCode();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
aconst_null
putfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytes:[B
2: aload 1
monitorexit
3: goto 6
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext jdk.internal.jshell.tool.ConsoleIOContext
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
getstatic jdk.internal.jshell.tool.StopDetectingInputStream$State.BUFFER:Ljdk/internal/jshell/tool/StopDetectingInputStream$State;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setState:(Ljdk/internal/jshell/tool/StopDetectingInputStream$State;)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void afterUserCode();
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.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
getstatic jdk.internal.jshell.tool.StopDetectingInputStream$State.WAIT:Ljdk/internal/jshell/tool/StopDetectingInputStream$State;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setState:(Ljdk/internal/jshell/tool/StopDetectingInputStream$State;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
public void replaceLastHistoryEntry(java.lang.String);
descriptor: (Ljava/lang/String;)V
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.ConsoleIOContext.history:Ljdk/internal/jline/extra/EditingHistory;
aload 1
invokevirtual jdk.internal.jline.extra.EditingHistory.fullHistoryReplace:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 2 1 source Ljava/lang/String;
MethodParameters:
Name Flags
source
private void fixes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.readCharacter:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: return
3: StackMap locals: int
StackMap stack:
getstatic jdk.internal.jshell.tool.ConsoleIOContext.FIX_COMPUTERS:[Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext int top int int jdk.internal.jshell.tool.ConsoleIOContext$FixComputer[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixComputer.shortcut:C
iload 1
if_icmpne 8
6: aload 0
aload 2
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext.fixes:(Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;)V
7: return
end local 2 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 4
10: aload 0
iload 1
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext.readOutRemainingEscape:(I)V
11: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.beep:()V
12: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
13: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
ldc "jshell.fix.wrong.shortcut"
invokevirtual jdk.internal.jshell.tool.JShellTool.getResourceString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
14: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
15: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
end local 1 16: goto 19
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext
StackMap stack: java.io.IOException
17: astore 1
start local 1 18: aload 1
invokevirtual java.io.IOException.printStackTrace:()V
end local 1 19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
1 16 1 c I
5 8 2 computer Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;
18 19 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 17 Class java.io.IOException
3 7 17 Class java.io.IOException
8 16 17 Class java.io.IOException
private void readOutRemainingEscape(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
bipush 27
if_icmpne 7
1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getInput:()Ljava/io/InputStream;
astore 2
start local 2 2: aload 2
instanceof jdk.internal.jline.internal.NonBlockingInputStream
ifeq 7
3: aload 2
checkcast jdk.internal.jline.internal.NonBlockingInputStream
astore 3
start local 3 4: goto 6
5: StackMap locals: java.io.InputStream jdk.internal.jline.internal.NonBlockingInputStream
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.readCharacter:()I
pop
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.isNonBlockingEnabled:()Z
ifeq 7
aload 3
ldc 100
invokevirtual jdk.internal.jline.internal.NonBlockingInputStream.peek:(J)I
ifgt 5
end local 3 end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 8 1 c I
2 7 2 inp Ljava/io/InputStream;
4 7 3 nbis Ljdk/internal/jline/internal/NonBlockingInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
private void fixes(jdk.internal.jshell.tool.ConsoleIOContext$FixComputer);
descriptor: (Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.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
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
invokevirtual jdk.internal.jline.console.CursorBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getCursorBuffer:()Ljdk/internal/jline/console/CursorBuffer;
getfield jdk.internal.jline.console.CursorBuffer.cursor:I
iadd
istore 3
start local 3 2: aload 1
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
aload 2
iload 3
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$FixComputer.compute:(Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;I)Ljdk/internal/jshell/tool/ConsoleIOContext$FixResult;
astore 4
start local 4 3: aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.error:Ljava/lang/String;
ifnull 4
aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.error:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 4
iconst_1
goto 5
StackMap locals: java.lang.String int jdk.internal.jshell.tool.ConsoleIOContext$FixResult
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 5
start local 5 6: iload 5
ifeq 8
7: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.error:Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
8: StackMap locals: int
StackMap stack:
aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.fixes:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 14
9: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.beep:()V
10: iload 5
ifeq 44
11: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
12: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
13: goto 44
StackMap locals:
StackMap stack:
14: aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.fixes:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 20
aload 1
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixComputer.showMenu:Z
ifne 20
15: iload 5
ifeq 18
16: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.redrawLine:()V
17: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
18: StackMap locals:
StackMap stack:
aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.fixes:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$Fix
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$Fix.perform:(Ljdk/internal/jline/console/ConsoleReader;)V
19: goto 44
20: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 4
getfield jdk.internal.jshell.tool.ConsoleIOContext$FixResult.fixes:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 21: aload 6
iconst_0
new jdk.internal.jshell.tool.ConsoleIOContext$7
dup
aload 0
invokespecial jdk.internal.jshell.tool.ConsoleIOContext$7.<init>:(Ljdk/internal/jshell/tool/ConsoleIOContext;)V
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
22: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 7
start local 7 23: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
24: iconst_0
istore 8
start local 8 25: goto 30
26: StackMap locals: java.util.List java.util.Map int
StackMap stack:
aload 6
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$Fix
astore 9
start local 9 27: aload 7
bipush 48
iload 8
iadd
i2c
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
28: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 8
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$Fix
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$Fix.displayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:(Ljava/lang/CharSequence;)V
end local 9 29: iinc 8 1
StackMap locals:
StackMap stack:
30: iload 8
aload 6
invokeinterface java.util.List.size:()I
if_icmplt 26
end local 8 31: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.repl:Ljdk/internal/jshell/tool/JShellTool;
ldc "jshell.console.choice"
iconst_0
anewarray java.lang.Object
invokevirtual jdk.internal.jshell.tool.JShellTool.messageFormat:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.internal.jline.console.ConsoleReader.print:(Ljava/lang/CharSequence;)V
32: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
33: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.readCharacter:()I
istore 8
start local 8 34: aload 7
iload 8
i2c
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$Fix
astore 9
start local 9 35: aload 9
ifnonnull 38
36: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.beep:()V
37: aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast jdk.internal.jshell.tool.ConsoleIOContext$Fix
astore 9
38: StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext$Fix
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.println:()V
39: aload 9
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokeinterface jdk.internal.jshell.tool.ConsoleIOContext$Fix.perform:(Ljdk/internal/jline/console/ConsoleReader;)V
40: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.flush:()V
end local 9 end local 8 end local 7 end local 6 end local 5 41: goto 44
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext jdk.internal.jshell.tool.ConsoleIOContext$FixComputer java.lang.String int jdk.internal.jshell.tool.ConsoleIOContext$FixResult
StackMap stack: java.io.IOException
42: astore 5
start local 5 43: new java.lang.IllegalStateException
dup
aload 5
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 44: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
0 45 1 computer Ljdk/internal/jshell/tool/ConsoleIOContext$FixComputer;
1 45 2 input Ljava/lang/String;
2 45 3 cursor I
3 45 4 candidates Ljdk/internal/jshell/tool/ConsoleIOContext$FixResult;
6 41 5 printError Z
21 41 6 fixes Ljava/util/List<Ljdk/internal/jshell/tool/ConsoleIOContext$Fix;>;
23 41 7 char2Fix Ljava/util/Map<Ljava/lang/Character;Ljdk/internal/jshell/tool/ConsoleIOContext$Fix;>;
25 31 8 i I
27 29 9 fix Ljdk/internal/jshell/tool/ConsoleIOContext$Fix;
34 41 8 read I
35 41 9 fix Ljdk/internal/jshell/tool/ConsoleIOContext$Fix;
43 44 5 ex Ljava/io/IOException;
Exception table:
from to target type
3 41 42 Class java.io.IOException
MethodParameters:
Name Flags
computer
public synchronized int readUserInput();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=1
start local 0 0: goto 19
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getHandleUserInterrupt:()Z
istore 1
start local 1 2: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
invokevirtual jdk.internal.jline.console.ConsoleReader.getHistory:()Ljdk/internal/jline/console/history/History;
astore 2
start local 2 3: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
getstatic jdk.internal.jshell.tool.StopDetectingInputStream$State.WAIT:Ljdk/internal/jshell/tool/StopDetectingInputStream$State;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setState:(Ljdk/internal/jshell/tool/StopDetectingInputStream$State;)V
4: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iconst_1
invokevirtual jdk.internal.jline.console.ConsoleReader.setHandleUserInterrupt:(Z)V
5: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.userInputHistory:Ljdk/internal/jline/console/history/MemoryHistory;
invokevirtual jdk.internal.jline.console.ConsoleReader.setHistory:(Ljdk/internal/jline/console/history/History;)V
6: aload 0
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
ldc ""
invokevirtual jdk.internal.jline.console.ConsoleReader.readLine:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
putfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytes:[B
7: aload 0
iconst_0
putfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytesPointer:I
8: goto 16
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext int jdk.internal.jline.console.history.History
StackMap stack: jdk.internal.jline.console.UserInterruptException
9: pop
10: new java.io.InterruptedIOException
dup
invokespecial java.io.InterruptedIOException.<init>:()V
athrow
11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
12: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 2
invokevirtual jdk.internal.jline.console.ConsoleReader.setHistory:(Ljdk/internal/jline/console/history/History;)V
13: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.setHandleUserInterrupt:(Z)V
14: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
getstatic jdk.internal.jshell.tool.StopDetectingInputStream$State.BUFFER:Ljdk/internal/jshell/tool/StopDetectingInputStream$State;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setState:(Ljdk/internal/jshell/tool/StopDetectingInputStream$State;)V
15: aload 3
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
aload 2
invokevirtual jdk.internal.jline.console.ConsoleReader.setHistory:(Ljdk/internal/jline/console/history/History;)V
17: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.in:Ljdk/internal/jline/console/ConsoleReader;
iload 1
invokevirtual jdk.internal.jline.console.ConsoleReader.setHandleUserInterrupt:(Z)V
18: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
getstatic jdk.internal.jshell.tool.StopDetectingInputStream$State.BUFFER:Ljdk/internal/jshell/tool/StopDetectingInputStream$State;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setState:(Ljdk/internal/jshell/tool/StopDetectingInputStream$State;)V
end local 2 end local 1 19: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytes:[B
ifnull 1
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytes:[B
arraylength
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytesPointer:I
if_icmple 1
20: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytes:[B
aload 0
dup
getfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytesPointer:I
dup_x1
iconst_1
iadd
putfield jdk.internal.jshell.tool.ConsoleIOContext.inputBytesPointer:I
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
2 19 1 prevHandleUserInterrupt Z
3 19 2 prevHistory Ljdk/internal/jline/console/history/History;
Exception table:
from to target type
3 8 9 Class jdk.internal.jline.console.UserInterruptException
3 11 11 any
Exceptions:
throws java.io.IOException
static java.lang.String access$0();
descriptor: ()Ljava/lang/String;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.internal.jshell.tool.ConsoleIOContext.LINE_SEPARATOR:Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String access$1(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokestatic jdk.internal.jshell.tool.ConsoleIOContext.commonPrefix:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
static int[] $SWITCH_TABLE$jdk$internal$jshell$tool$ConsoleIOContext$CompletionTask$Result();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.internal.jshell.tool.ConsoleIOContext.$SWITCH_TABLE$jdk$internal$jshell$tool$ConsoleIOContext$CompletionTask$Result:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.values:()[Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.CONTINUE:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.FINISH:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.NO_DATA:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.SKIP:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.SKIP_NOREPAINT:Ljdk/internal/jshell/tool/ConsoleIOContext$CompletionTask$Result;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic jdk.internal.jshell.tool.ConsoleIOContext.$SWITCH_TABLE$jdk$internal$jshell$tool$ConsoleIOContext$CompletionTask$Result:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
private static void lambda$0(jdk.internal.jshell.tool.JShellTool);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.jshell.tool.JShellTool.stop:()V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$1(jdk.internal.jshell.tool.JShellTool, java.lang.Exception);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/Exception;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
start local 1 0: aload 0
ldc "Error on input: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual jdk.internal.jshell.tool.JShellTool.hard:(Ljava/lang/String;[Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 ex Ljava/lang/Exception;
private static boolean lambda$2(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "HISTORY_LINE_"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
private static java.lang.String lambda$3(jdk.internal.jshell.tool.JShellTool, java.lang.String);
descriptor: (Ljdk/internal/jshell/tool/JShellTool;Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
getfield jdk.internal.jshell.tool.JShellTool.prefs:Ljdk/internal/jshell/tool/PersistentStorage;
aload 1
invokeinterface jdk.internal.jshell.tool.PersistentStorage.get:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 key Ljava/lang/String;
private void lambda$4();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext.fixes:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext;
private static java.lang.Boolean lambda$7(jdk.jshell.SourceCodeAnalysis$Suggestion);
descriptor: (Ljdk/jshell/SourceCodeAnalysis$Suggestion;)Ljava/lang/Boolean;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.jshell.SourceCodeAnalysis$Suggestion.matchesType:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljdk/jshell/SourceCodeAnalysis$Suggestion;
}
SourceFile: "ConsoleIOContext.java"
NestMembers:
jdk.internal.jshell.tool.ConsoleIOContext$1 jdk.internal.jshell.tool.ConsoleIOContext$1$1 jdk.internal.jshell.tool.ConsoleIOContext$1$2 jdk.internal.jshell.tool.ConsoleIOContext$2 jdk.internal.jshell.tool.ConsoleIOContext$2$1 jdk.internal.jshell.tool.ConsoleIOContext$3 jdk.internal.jshell.tool.ConsoleIOContext$4 jdk.internal.jshell.tool.ConsoleIOContext$5 jdk.internal.jshell.tool.ConsoleIOContext$6 jdk.internal.jshell.tool.ConsoleIOContext$7 jdk.internal.jshell.tool.ConsoleIOContext$AllSuggestionsCompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CheckCompletionKeyMap jdk.internal.jshell.tool.ConsoleIOContext$CommandFullDocumentationTask jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result jdk.internal.jshell.tool.ConsoleIOContext$ExpressionJavadocTask jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask jdk.internal.jshell.tool.ConsoleIOContext$Fix jdk.internal.jshell.tool.ConsoleIOContext$FixComputer jdk.internal.jshell.tool.ConsoleIOContext$FixResult jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask jdk.internal.jshell.tool.ConsoleIOContext$OrdinaryCompletionTask jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
jdk.internal.jshell.tool.ConsoleIOContext$1
jdk.internal.jshell.tool.ConsoleIOContext$2
jdk.internal.jshell.tool.ConsoleIOContext$3
jdk.internal.jshell.tool.ConsoleIOContext$4
jdk.internal.jshell.tool.ConsoleIOContext$5
jdk.internal.jshell.tool.ConsoleIOContext$6
jdk.internal.jshell.tool.ConsoleIOContext$7
private final AllSuggestionsCompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$AllSuggestionsCompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
private final CheckCompletionKeyMap = jdk.internal.jshell.tool.ConsoleIOContext$CheckCompletionKeyMap of jdk.internal.jshell.tool.ConsoleIOContext
private final CommandFullDocumentationTask = jdk.internal.jshell.tool.ConsoleIOContext$CommandFullDocumentationTask of jdk.internal.jshell.tool.ConsoleIOContext
private final CommandSynopsisTask = jdk.internal.jshell.tool.ConsoleIOContext$CommandSynopsisTask of jdk.internal.jshell.tool.ConsoleIOContext
private abstract CompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
public final Result = jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask$Result of jdk.internal.jshell.tool.ConsoleIOContext$CompletionTask
private final ExpressionJavadocTask = jdk.internal.jshell.tool.ConsoleIOContext$ExpressionJavadocTask of jdk.internal.jshell.tool.ConsoleIOContext
private final ExpressionSignaturesTask = jdk.internal.jshell.tool.ConsoleIOContext$ExpressionSignaturesTask of jdk.internal.jshell.tool.ConsoleIOContext
public abstract Fix = jdk.internal.jshell.tool.ConsoleIOContext$Fix of jdk.internal.jshell.tool.ConsoleIOContext
public abstract FixComputer = jdk.internal.jshell.tool.ConsoleIOContext$FixComputer of jdk.internal.jshell.tool.ConsoleIOContext
public FixResult = jdk.internal.jshell.tool.ConsoleIOContext$FixResult of jdk.internal.jshell.tool.ConsoleIOContext
private final JShellUnixTerminal = jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal of jdk.internal.jshell.tool.ConsoleIOContext
private final JShellWindowsTerminal = jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal of jdk.internal.jshell.tool.ConsoleIOContext
private final NoSuchCommandCompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$NoSuchCommandCompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
private final NoopCompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$NoopCompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
private final OrdinaryCompletionTask = jdk.internal.jshell.tool.ConsoleIOContext$OrdinaryCompletionTask of jdk.internal.jshell.tool.ConsoleIOContext
private abstract SuspendableTerminal = jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal of jdk.internal.jshell.tool.ConsoleIOContext
private final TestTerminal = jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal of jdk.internal.jshell.tool.ConsoleIOContext
InputInterruptedException = jdk.internal.jshell.tool.IOContext$InputInterruptedException of jdk.internal.jshell.tool.IOContext
public final State = jdk.internal.jshell.tool.StopDetectingInputStream$State of jdk.internal.jshell.tool.StopDetectingInputStream
public abstract Handler = jdk.internal.misc.Signal$Handler of jdk.internal.misc.Signal
public abstract Documentation = jdk.jshell.SourceCodeAnalysis$Documentation of jdk.jshell.SourceCodeAnalysis
public abstract Suggestion = jdk.jshell.SourceCodeAnalysis$Suggestion of jdk.jshell.SourceCodeAnalysis