public abstract class jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal extends jdk.internal.org.jline.terminal.impl.AbstractTerminal
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal
super_class: jdk.internal.org.jline.terminal.impl.AbstractTerminal
{
public static final java.lang.String TYPE_WINDOWS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "windows"
public static final java.lang.String TYPE_WINDOWS_256_COLOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "windows-256color"
public static final java.lang.String TYPE_WINDOWS_CONEMU;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "windows-conemu"
public static final java.lang.String TYPE_WINDOWS_VTP;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "windows-vtp"
public static final int ENABLE_VIRTUAL_TERMINAL_PROCESSING;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int UTF8_CODE_PAGE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 65001
protected static final int ENABLE_PROCESSED_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int ENABLE_LINE_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
protected static final int ENABLE_ECHO_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 4
protected static final int ENABLE_WINDOW_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 8
protected static final int ENABLE_MOUSE_INPUT;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 16
protected static final int ENABLE_INSERT_MODE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 32
protected static final int ENABLE_QUICK_EDIT_MODE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 64
protected final java.io.Writer slaveInputPipe;
descriptor: Ljava/io/Writer;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.io.InputStream input;
descriptor: Ljava/io/InputStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.io.OutputStream output;
descriptor: Ljava/io/OutputStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.internal.org.jline.utils.NonBlockingReader reader;
descriptor: Ljdk/internal/org/jline/utils/NonBlockingReader;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.io.PrintWriter writer;
descriptor: Ljava/io/PrintWriter;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.Map<jdk.internal.org.jline.terminal.Terminal$Signal, java.lang.Object> nativeHandlers;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/internal/org/jline/terminal/Terminal$Signal;Ljava/lang/Object;>;
protected final jdk.internal.org.jline.utils.ShutdownHooks$Task closer;
descriptor: Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.internal.org.jline.terminal.Attributes attributes;
descriptor: Ljdk/internal/org/jline/terminal/Attributes;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int originalConsoleMode;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected boolean paused;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.lang.Thread pump;
descriptor: Ljava/lang/Thread;
flags: (0x0004) ACC_PROTECTED
protected jdk.internal.org.jline.terminal.Terminal$MouseTracking tracking;
descriptor: Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
flags: (0x0004) ACC_PROTECTED
protected boolean focusTracking;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private volatile boolean closing;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static final int SHIFT_FLAG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int ALT_FLAG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int CTRL_FLAG;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int RIGHT_ALT_PRESSED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int LEFT_ALT_PRESSED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int RIGHT_CTRL_PRESSED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int LEFT_CTRL_PRESSED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int SHIFT_PRESSED;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int NUMLOCK_ON;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final int SCROLLLOCK_ON;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final int CAPSLOCK_ON;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
public void <init>(java.io.Writer, java.lang.String, java.lang.String, java.nio.charset.Charset, int, boolean, jdk.internal.org.jline.terminal.Terminal$SignalHandler, java.util.function.Function<java.io.InputStream, java.io.InputStream>);
descriptor: (Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;IZLjdk/internal/org/jline/terminal/Terminal$SignalHandler;Ljava/util/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=14, args_size=9
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 0: aload 0
aload 2
aload 3
aload 4
iload 5
invokestatic jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.selectCharset:(Ljava/nio/charset/Charset;I)Ljava/nio/charset/Charset;
aload 7
invokespecial jdk.internal.org.jline.terminal.impl.AbstractTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.nativeHandlers:Ljava/util/Map;
2: aload 0
new jdk.internal.org.jline.terminal.Attributes
dup
invokespecial jdk.internal.org.jline.terminal.Attributes.<init>:()V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
3: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
4: aload 0
iconst_1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
5: aload 0
getstatic jdk.internal.org.jline.terminal.Terminal$MouseTracking.Off:Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.tracking:Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
6: aload 0
iconst_0
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.focusTracking:Z
7: invokestatic jdk.internal.org.jline.utils.NonBlocking.nonBlockingPumpReader:()Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
astore 9
start local 9 8: aload 0
aload 9
invokevirtual jdk.internal.org.jline.utils.NonBlockingPumpReader.getWriter:()Ljava/io/Writer;
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.slaveInputPipe:Ljava/io/Writer;
9: aload 0
aload 8
aload 9
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.encoding:()Ljava/nio/charset/Charset;
invokestatic jdk.internal.org.jline.utils.NonBlocking.nonBlockingStream:(Ljdk/internal/org/jline/utils/NonBlockingReader;Ljava/nio/charset/Charset;)Ljdk/internal/org/jline/utils/NonBlockingInputStream;
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.InputStream
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.input:Ljava/io/InputStream;
10: aload 0
aload 2
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.input:Ljava/io/InputStream;
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.encoding:()Ljava/nio/charset/Charset;
invokestatic jdk.internal.org.jline.utils.NonBlocking.nonBlocking:(Ljava/lang/String;Ljava/io/InputStream;Ljava/nio/charset/Charset;)Ljdk/internal/org/jline/utils/NonBlockingReader;
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
11: aload 0
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.writer:Ljava/io/PrintWriter;
12: aload 0
new jdk.internal.org.jline.utils.WriterOutputStream
dup
aload 1
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.encoding:()Ljava/nio/charset/Charset;
invokespecial jdk.internal.org.jline.utils.WriterOutputStream.<init>:(Ljava/io/Writer;Ljava/nio/charset/Charset;)V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.output:Ljava/io/OutputStream;
13: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.parseInfoCmp:()V
14: aload 0
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getConsoleMode:()I
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.originalConsoleMode:I
15: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ISIG:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
iconst_1
invokevirtual jdk.internal.org.jline.terminal.Attributes.setLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;Z)V
16: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VINTR:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
aload 0
bipush 67
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.ctrl:(C)I
invokevirtual jdk.internal.org.jline.terminal.Attributes.setControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;I)V
17: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VEOF:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
aload 0
bipush 68
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.ctrl:(C)I
invokevirtual jdk.internal.org.jline.terminal.Attributes.setControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;I)V
18: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VSUSP:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
aload 0
bipush 90
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.ctrl:(C)I
invokevirtual jdk.internal.org.jline.terminal.Attributes.setControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;I)V
19: iload 6
ifeq 28
20: invokestatic jdk.internal.org.jline.terminal.Terminal$Signal.values:()[Ljdk/internal/org/jline/terminal/Terminal$Signal;
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 27
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.io.Writer java.lang.String java.lang.String java.nio.charset.Charset int int jdk.internal.org.jline.terminal.Terminal$SignalHandler java.util.function.Function jdk.internal.org.jline.utils.NonBlockingPumpReader top int int jdk.internal.org.jline.terminal.Terminal$Signal[]
StackMap stack:
21: aload 13
iload 11
aaload
astore 10
start local 10 22: aload 7
getstatic jdk.internal.org.jline.terminal.Terminal$SignalHandler.SIG_DFL:Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
if_acmpne 25
23: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.nativeHandlers:Ljava/util/Map;
aload 10
aload 10
invokevirtual jdk.internal.org.jline.terminal.Terminal$Signal.name:()Ljava/lang/String;
invokestatic jdk.internal.org.jline.utils.Signals.registerDefault:(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: goto 26
25: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.io.Writer java.lang.String java.lang.String java.nio.charset.Charset int int jdk.internal.org.jline.terminal.Terminal$SignalHandler java.util.function.Function jdk.internal.org.jline.utils.NonBlockingPumpReader jdk.internal.org.jline.terminal.Terminal$Signal int int jdk.internal.org.jline.terminal.Terminal$Signal[]
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.nativeHandlers:Ljava/util/Map;
aload 10
aload 10
invokevirtual jdk.internal.org.jline.terminal.Terminal$Signal.name:()Ljava/lang/String;
aload 0
aload 10
invokedynamic run(Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;Ljdk/internal/org/jline/terminal/Terminal$Signal;)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/org/jline/terminal/impl/AbstractWindowsTerminal.lambda$0(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V (7)
()V
invokestatic jdk.internal.org.jline.utils.Signals.register:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 26: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.io.Writer java.lang.String java.lang.String java.nio.charset.Charset int int jdk.internal.org.jline.terminal.Terminal$SignalHandler java.util.function.Function jdk.internal.org.jline.utils.NonBlockingPumpReader top int int jdk.internal.org.jline.terminal.Terminal$Signal[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
27: iload 11
iload 12
if_icmplt 21
28: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.io.Writer java.lang.String java.lang.String java.nio.charset.Charset int int jdk.internal.org.jline.terminal.Terminal$SignalHandler java.util.function.Function jdk.internal.org.jline.utils.NonBlockingPumpReader
StackMap stack:
aload 0
aload 0
invokedynamic run(Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;)Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
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/org/jline/terminal/impl/AbstractTerminal.close()V (5)
()V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closer:Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
29: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closer:Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
invokestatic jdk.internal.org.jline.utils.ShutdownHooks.add:(Ljdk/internal/org/jline/utils/ShutdownHooks$Task;)Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
pop
30: ldc "windows-conemu"
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getType:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
31: ldc "org.jline.terminal.conemu.disable-activate"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 34
32: aload 1
ldc "\u001B[9999E"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
33: aload 1
invokevirtual java.io.Writer.flush:()V
34: StackMap locals:
StackMap stack:
return
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 35 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 35 1 writer Ljava/io/Writer;
0 35 2 name Ljava/lang/String;
0 35 3 type Ljava/lang/String;
0 35 4 encoding Ljava/nio/charset/Charset;
0 35 5 codepage I
0 35 6 nativeSignals Z
0 35 7 signalHandler Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
0 35 8 inputStreamWrapper Ljava/util/function/Function<Ljava/io/InputStream;Ljava/io/InputStream;>;
8 35 9 reader Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
22 26 10 signal Ljdk/internal/org/jline/terminal/Terminal$Signal;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/Writer;Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;IZLjdk/internal/org/jline/terminal/Terminal$SignalHandler;Ljava/util/function/Function<Ljava/io/InputStream;Ljava/io/InputStream;>;)V
MethodParameters:
Name Flags
writer
name
type
encoding
codepage
nativeSignals
signalHandler
inputStreamWrapper
private static java.nio.charset.Charset selectCharset(java.nio.charset.Charset, int);
descriptor: (Ljava/nio/charset/Charset;I)Ljava/nio/charset/Charset;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 1
iflt 4
3: iload 1
invokestatic jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getCodepageCharset:(I)Ljava/nio/charset/Charset;
areturn
4: StackMap locals:
StackMap stack:
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 encoding Ljava/nio/charset/Charset;
0 5 1 codepage I
MethodParameters:
Name Flags
encoding
codepage
private static java.nio.charset.Charset getCodepageCharset(int);
descriptor: (I)Ljava/nio/charset/Charset;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iload 0
ldc 65001
if_icmpne 2
1: getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "ms"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "cp"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
ifeq 8
7: aload 2
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
areturn
8: StackMap locals: java.lang.String
StackMap stack:
invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 codepage I
3 9 1 charsetMS Ljava/lang/String;
6 9 2 charsetCP Ljava/lang/String;
MethodParameters:
Name Flags
codepage
public jdk.internal.org.jline.terminal.Terminal$SignalHandler handle(jdk.internal.org.jline.terminal.Terminal$Signal, jdk.internal.org.jline.terminal.Terminal$SignalHandler);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal$Signal;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
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 1
aload 2
invokespecial jdk.internal.org.jline.terminal.impl.AbstractTerminal.handle:(Ljdk/internal/org/jline/terminal/Terminal$Signal;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
astore 3
start local 3 1: aload 3
aload 2
if_acmpeq 6
2: aload 2
getstatic jdk.internal.org.jline.terminal.Terminal$SignalHandler.SIG_DFL:Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
if_acmpne 5
3: aload 1
invokevirtual jdk.internal.org.jline.terminal.Terminal$Signal.name:()Ljava/lang/String;
invokestatic jdk.internal.org.jline.utils.Signals.registerDefault:(Ljava/lang/String;)Ljava/lang/Object;
pop
4: goto 6
5: StackMap locals: jdk.internal.org.jline.terminal.Terminal$SignalHandler
StackMap stack:
aload 1
invokevirtual jdk.internal.org.jline.terminal.Terminal$Signal.name:()Ljava/lang/String;
aload 0
aload 1
invokedynamic run(Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;Ljdk/internal/org/jline/terminal/Terminal$Signal;)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/org/jline/terminal/impl/AbstractWindowsTerminal.lambda$2(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V (7)
()V
invokestatic jdk.internal.org.jline.utils.Signals.register:(Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
pop
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 7 1 signal Ljdk/internal/org/jline/terminal/Terminal$Signal;
0 7 2 handler Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
1 7 3 prev Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
MethodParameters:
Name Flags
signal
handler
public jdk.internal.org.jline.utils.NonBlockingReader reader();
descriptor: ()Ljdk/internal/org/jline/utils/NonBlockingReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
public java.io.PrintWriter writer();
descriptor: ()Ljava/io/PrintWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.writer:Ljava/io/PrintWriter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
public java.io.InputStream input();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.input:Ljava/io/InputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
public java.io.OutputStream output();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.output:Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
public jdk.internal.org.jline.terminal.Attributes getAttributes();
descriptor: ()Ljdk/internal/org/jline/terminal/Attributes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getConsoleMode:()I
istore 1
start local 1 1: iload 1
iconst_4
iand
ifeq 3
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ECHO:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
iconst_1
invokevirtual jdk.internal.org.jline.terminal.Attributes.setLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;Z)V
3: StackMap locals: int
StackMap stack:
iload 1
iconst_2
iand
ifeq 5
4: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ICANON:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
iconst_1
invokevirtual jdk.internal.org.jline.terminal.Attributes.setLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;Z)V
5: StackMap locals:
StackMap stack:
new jdk.internal.org.jline.terminal.Attributes
dup
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
invokespecial jdk.internal.org.jline.terminal.Attributes.<init>:(Ljdk/internal/org/jline/terminal/Attributes;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
1 6 1 mode I
public void setAttributes(jdk.internal.org.jline.terminal.Attributes);
descriptor: (Ljdk/internal/org/jline/terminal/Attributes;)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.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
aload 1
invokevirtual jdk.internal.org.jline.terminal.Attributes.copy:(Ljdk/internal/org/jline/terminal/Attributes;)V
1: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.updateConsoleMode:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 3 1 attr Ljdk/internal/org/jline/terminal/Attributes;
MethodParameters:
Name Flags
attr
protected void updateConsoleMode();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 8
istore 1
start local 1 1: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ECHO:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;)Z
ifeq 3
2: iload 1
iconst_4
ior
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ICANON:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;)Z
ifeq 5
4: iload 1
iconst_2
ior
istore 1
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.tracking:Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
getstatic jdk.internal.org.jline.terminal.Terminal$MouseTracking.Off:Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
if_acmpeq 7
6: iload 1
bipush 16
ior
istore 1
7: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.setConsoleMode:(I)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
1 9 1 mode I
protected int ctrl(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic java.lang.Character.toUpperCase:(C)C
bipush 31
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 1 1 key C
MethodParameters:
Name Flags
key
public void setSize(jdk.internal.org.jline.terminal.Size);
descriptor: (Ljdk/internal/org/jline/terminal/Size;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Can not resize windows terminal"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 1 1 size Ljdk/internal/org/jline/terminal/Size;
MethodParameters:
Name Flags
size
protected void doClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokespecial jdk.internal.org.jline.terminal.impl.AbstractTerminal.doClose:()V
1: aload 0
iconst_1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closing:Z
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
ifnull 4
3: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
invokevirtual java.lang.Thread.interrupt:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closer:Ljdk/internal/org/jline/utils/ShutdownHooks$Task;
invokestatic jdk.internal.org.jline.utils.ShutdownHooks.remove:(Ljdk/internal/org/jline/utils/ShutdownHooks$Task;)V
5: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.nativeHandlers:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 8
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal top java.util.Iterator
StackMap stack:
6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 7: aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast jdk.internal.org.jline.terminal.Terminal$Signal
invokevirtual jdk.internal.org.jline.terminal.Terminal$Signal.name:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokestatic jdk.internal.org.jline.utils.Signals.unregister:(Ljava/lang/String;Ljava/lang/Object;)V
end local 1 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.reader:Ljdk/internal/org/jline/utils/NonBlockingReader;
invokevirtual jdk.internal.org.jline.utils.NonBlockingReader.close:()V
10: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.writer:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.close:()V
11: aload 0
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.originalConsoleMode:I
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.setConsoleMode:(I)V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
7 8 1 entry Ljava/util/Map$Entry<Ljdk/internal/org/jline/terminal/Terminal$Signal;Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
protected void processKeyEvent(boolean, short, char, int);
descriptor: (ZSCI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
bipush 12
iand
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 5
start local 5 3: iload 4
iconst_3
iand
ifle 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: iload 4
bipush 16
iand
ifle 7
iconst_1
goto 8
StackMap locals: int
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 7
start local 7 9: iload 1
ifeq 55
iload 3
iconst_3
if_icmpeq 55
10: iload 3
ifeq 16
11: iload 4
bipush 31
iand
12: bipush 9
13: if_icmpne 16
14: aload 0
iload 3
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
15: goto 60
16: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 5
ifeq 17
iconst_4
goto 18
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int
17: iconst_0
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int
18: iload 6
ifeq 19
iconst_2
goto 20
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int
19: iconst_0
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int
20: iadd
iload 7
ifeq 21
iconst_1
goto 22
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int
21: iconst_0
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int
22: iadd
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getEscapeSequence:(SI)Ljava/lang/String;
astore 8
start local 8 23: aload 8
ifnull 30
24: aload 8
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 28
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int java.lang.String top int int char[]
StackMap stack:
25: aload 12
iload 10
caload
istore 9
start local 9 26: aload 0
iload 9
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
end local 9 27: iinc 10 1
StackMap locals:
StackMap stack:
28: iload 10
iload 11
if_icmplt 25
29: return
30: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int java.lang.String
StackMap stack:
iload 3
ifle 44
31: iload 6
ifeq 33
32: aload 0
bipush 27
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
33: StackMap locals:
StackMap stack:
iload 5
ifeq 38
iload 3
bipush 32
if_icmpeq 38
iload 3
bipush 10
if_icmpeq 38
iload 3
bipush 127
if_icmpeq 38
34: aload 0
iload 3
bipush 63
if_icmpne 35
bipush 127
goto 36
StackMap locals:
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal
35: iload 3
invokestatic java.lang.Character.toUpperCase:(C)C
bipush 31
iand
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int int int int int int int java.lang.String
StackMap stack: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int
36: i2c
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
37: goto 60
StackMap locals:
StackMap stack:
38: iload 5
ifeq 42
iload 3
bipush 10
if_icmpne 42
39: aload 0
bipush 27
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
40: aload 0
bipush 13
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
41: goto 60
42: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
43: goto 60
StackMap locals:
StackMap stack:
44: iload 5
ifeq 60
45: iload 2
bipush 65
if_icmplt 48
iload 2
bipush 90
if_icmpgt 48
46: iload 2
bipush 64
isub
i2c
istore 3
47: goto 50
StackMap locals:
StackMap stack:
48: iload 2
sipush 191
if_icmpne 50
49: bipush 127
istore 3
50: StackMap locals:
StackMap stack:
iload 3
ifle 60
51: iload 6
ifeq 53
52: aload 0
bipush 27
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
53: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
end local 8 54: goto 60
StackMap locals:
StackMap stack:
55: iload 1
ifeq 58
iload 3
iconst_3
if_icmpne 58
56: aload 0
iconst_3
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
57: goto 60
58: StackMap locals:
StackMap stack:
iload 2
bipush 18
if_icmpne 60
iload 3
ifle 60
59: aload 0
iload 3
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processInputChar:(C)V
60: StackMap locals:
StackMap stack:
return
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 61 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 61 1 isKeyDown Z
0 61 2 virtualKeyCode S
0 61 3 ch C
0 61 4 controlKeyState I
3 61 5 isCtrl Z
6 61 6 isAlt Z
9 61 7 isShift Z
23 54 8 keySeq Ljava/lang/String;
26 27 9 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
isKeyDown final
virtualKeyCode final
ch
controlKeyState final
protected java.lang.String getEscapeSequence(short, int);
descriptor: (SI)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 1
lookupswitch { // 26
8: 2
9: 6
33: 10
34: 12
35: 14
36: 18
37: 22
38: 26
39: 30
40: 34
45: 38
46: 40
91: 90
93: 90
112: 42
113: 46
114: 50
115: 54
116: 58
117: 62
118: 66
119: 70
120: 74
121: 78
122: 82
123: 86
default: 90
}
2: StackMap locals: java.lang.String
StackMap stack:
iload 2
iconst_2
iand
ifle 3
ldc "\\E^H"
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_backspace:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: astore 3
5: goto 91
6: StackMap locals:
StackMap stack:
iload 2
iconst_1
iand
ifle 7
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_btab:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack:
7: aconst_null
StackMap locals:
StackMap stack: java.lang.String
8: astore 3
9: goto 91
10: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_ppage:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
astore 3
11: goto 91
12: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_npage:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
astore 3
13: goto 91
14: StackMap locals:
StackMap stack:
iload 2
ifle 15
ldc "\\E[1;%p1%dF"
goto 16
StackMap locals:
StackMap stack:
15: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_end:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
16: astore 3
17: goto 91
18: StackMap locals:
StackMap stack:
iload 2
ifle 19
ldc "\\E[1;%p1%dH"
goto 20
StackMap locals:
StackMap stack:
19: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_home:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
20: astore 3
21: goto 91
22: StackMap locals:
StackMap stack:
iload 2
ifle 23
ldc "\\E[1;%p1%dD"
goto 24
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_left:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
24: astore 3
25: goto 91
26: StackMap locals:
StackMap stack:
iload 2
ifle 27
ldc "\\E[1;%p1%dA"
goto 28
StackMap locals:
StackMap stack:
27: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_up:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
28: astore 3
29: goto 91
30: StackMap locals:
StackMap stack:
iload 2
ifle 31
ldc "\\E[1;%p1%dC"
goto 32
StackMap locals:
StackMap stack:
31: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_right:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
32: astore 3
33: goto 91
34: StackMap locals:
StackMap stack:
iload 2
ifle 35
ldc "\\E[1;%p1%dB"
goto 36
StackMap locals:
StackMap stack:
35: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_down:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
36: astore 3
37: goto 91
38: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_ic:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
astore 3
39: goto 91
40: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_dc:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
astore 3
41: goto 91
42: StackMap locals:
StackMap stack:
iload 2
ifle 43
ldc "\\E[1;%p1%dP"
goto 44
StackMap locals:
StackMap stack:
43: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f1:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
44: astore 3
45: goto 91
46: StackMap locals:
StackMap stack:
iload 2
ifle 47
ldc "\\E[1;%p1%dQ"
goto 48
StackMap locals:
StackMap stack:
47: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f2:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
48: astore 3
49: goto 91
50: StackMap locals:
StackMap stack:
iload 2
ifle 51
ldc "\\E[1;%p1%dR"
goto 52
StackMap locals:
StackMap stack:
51: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f3:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
52: astore 3
53: goto 91
54: StackMap locals:
StackMap stack:
iload 2
ifle 55
ldc "\\E[1;%p1%dS"
goto 56
StackMap locals:
StackMap stack:
55: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f4:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
56: astore 3
57: goto 91
58: StackMap locals:
StackMap stack:
iload 2
ifle 59
ldc "\\E[15;%p1%d~"
goto 60
StackMap locals:
StackMap stack:
59: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f5:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
60: astore 3
61: goto 91
62: StackMap locals:
StackMap stack:
iload 2
ifle 63
ldc "\\E[17;%p1%d~"
goto 64
StackMap locals:
StackMap stack:
63: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f6:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
64: astore 3
65: goto 91
66: StackMap locals:
StackMap stack:
iload 2
ifle 67
ldc "\\E[18;%p1%d~"
goto 68
StackMap locals:
StackMap stack:
67: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f7:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
68: astore 3
69: goto 91
70: StackMap locals:
StackMap stack:
iload 2
ifle 71
ldc "\\E[19;%p1%d~"
goto 72
StackMap locals:
StackMap stack:
71: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f8:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
72: astore 3
73: goto 91
74: StackMap locals:
StackMap stack:
iload 2
ifle 75
ldc "\\E[20;%p1%d~"
goto 76
StackMap locals:
StackMap stack:
75: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f9:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
76: astore 3
77: goto 91
78: StackMap locals:
StackMap stack:
iload 2
ifle 79
ldc "\\E[21;%p1%d~"
goto 80
StackMap locals:
StackMap stack:
79: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f10:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
80: astore 3
81: goto 91
82: StackMap locals:
StackMap stack:
iload 2
ifle 83
ldc "\\E[23;%p1%d~"
goto 84
StackMap locals:
StackMap stack:
83: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f11:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
84: astore 3
85: goto 91
86: StackMap locals:
StackMap stack:
iload 2
ifle 87
ldc "\\E[24;%p1%d~"
goto 88
StackMap locals:
StackMap stack:
87: aload 0
getstatic jdk.internal.org.jline.utils.InfoCmp$Capability.key_f12:Ljdk/internal/org/jline/utils/InfoCmp$Capability;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.getRawSequence:(Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
88: astore 3
89: goto 91
90: StackMap locals:
StackMap stack:
aconst_null
areturn
91: StackMap locals:
StackMap stack:
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 2
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic jdk.internal.org.jline.utils.Curses.tputs:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 92 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 92 1 keyCode S
0 92 2 keyState I
1 92 3 escapeSequence Ljava/lang/String;
MethodParameters:
Name Flags
keyCode
keyState
protected java.lang.String getRawSequence(jdk.internal.org.jline.utils.InfoCmp$Capability);
descriptor: (Ljdk/internal/org/jline/utils/InfoCmp$Capability;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.strings:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 1 1 cap Ljdk/internal/org/jline/utils/InfoCmp$Capability;
MethodParameters:
Name Flags
cap
public boolean hasFocusSupport();
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/org/jline/terminal/impl/AbstractWindowsTerminal;
public boolean trackFocus(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.focusTracking:Z
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 2 1 tracking Z
MethodParameters:
Name Flags
tracking
public boolean canPauseResume();
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/org/jline/terminal/impl/AbstractWindowsTerminal;
public void pause();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
2: aload 1
monitorexit
3: goto 6
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.lang.Object
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
Exception table:
from to target type
1 3 4 any
4 5 4 any
public void pause(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
iconst_1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
astore 2
start local 2 3: aload 3
monitorexit
4: goto 7
end local 2 StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int top java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
start local 2 7: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal int java.lang.Thread
StackMap stack:
aload 2
ifnull 10
8: aload 2
invokevirtual java.lang.Thread.interrupt:()V
9: aload 2
invokevirtual java.lang.Thread.join:()V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 11 1 wait Z
3 5 2 p Ljava/lang/Thread;
7 11 2 p Ljava/lang/Thread;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Exceptions:
throws java.lang.InterruptedException
MethodParameters:
Name Flags
wait
public void resume();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
iconst_0
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
ifnonnull 6
3: aload 0
new java.lang.Thread
dup
aload 0
invokedynamic run(Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;)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/org/jline/terminal/impl/AbstractWindowsTerminal.pump()V (5)
()V
ldc "WindowsStreamPump"
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
4: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
iconst_1
invokevirtual java.lang.Thread.setDaemon:(Z)V
5: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
invokevirtual java.lang.Thread.start:()V
6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
Exception table:
from to target type
1 7 8 any
8 9 8 any
public boolean paused();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
Exception table:
from to target type
1 2 3 any
3 4 3 any
protected void pump();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: goto 12
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.paused:Z
ifeq 6
3: aload 0
aconst_null
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
4: aload 1
monitorexit
5: goto 35
6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.processConsoleInput:()Z
ifeq 12
11: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.slaveInputPipe:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closing:Z
ifeq 1
13: goto 35
StackMap locals:
StackMap stack: java.io.IOException
14: astore 1
start local 1 15: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.closing:Z
ifne 21
iconst_2
anewarray java.lang.Object
dup
iconst_0
16: ldc "Error in WindowsStreamPump"
aastore
dup
iconst_1
aload 1
aastore
invokestatic jdk.internal.org.jline.utils.Log.warn:([Ljava/lang/Object;)V
17: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.close:()V
18: goto 21
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal java.io.IOException
StackMap stack: java.io.IOException
19: pop
iconst_2
anewarray java.lang.Object
dup
iconst_0
20: ldc "Error closing terminal"
aastore
dup
iconst_1
aload 1
aastore
invokestatic jdk.internal.org.jline.utils.Log.warn:([Ljava/lang/Object;)V
end local 1 21: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
22: aload 0
aconst_null
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
23: aload 3
monitorexit
24: goto 41
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal top top java.lang.Object
StackMap stack: java.lang.Throwable
25: aload 3
monitorexit
26: athrow
27: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal
StackMap stack: java.lang.Throwable
astore 2
28: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
29: aload 0
aconst_null
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
30: aload 3
monitorexit
31: goto 34
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal top java.lang.Throwable java.lang.Object
StackMap stack: java.lang.Throwable
32: aload 3
monitorexit
33: athrow
34: StackMap locals:
StackMap stack:
aload 2
athrow
35: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
36: aload 0
aconst_null
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.pump:Ljava/lang/Thread;
37: aload 3
monitorexit
38: goto 41
StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal top top java.lang.Object
StackMap stack: java.lang.Throwable
39: aload 3
monitorexit
40: athrow
41: StackMap locals: jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
15 21 1 e Ljava/io/IOException;
Exception table:
from to target type
2 5 8 any
6 7 8 any
8 9 8 any
0 13 14 Class java.io.IOException
17 18 19 Class java.io.IOException
22 24 25 any
25 26 25 any
0 21 27 any
29 31 32 any
32 33 32 any
36 38 39 any
39 40 39 any
public void processInputChar(char);
descriptor: (C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ISIG:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;)Z
ifeq 12
1: iload 1
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VINTR:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;)I
if_icmpne 4
2: aload 0
getstatic jdk.internal.org.jline.terminal.Terminal$Signal.INT:Ljdk/internal/org/jline/terminal/Terminal$Signal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
3: return
4: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VQUIT:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;)I
if_icmpne 7
5: aload 0
getstatic jdk.internal.org.jline.terminal.Terminal$Signal.QUIT:Ljdk/internal/org/jline/terminal/Terminal$Signal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
6: return
7: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VSUSP:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;)I
if_icmpne 10
8: aload 0
getstatic jdk.internal.org.jline.terminal.Terminal$Signal.TSTP:Ljdk/internal/org/jline/terminal/Terminal$Signal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
9: return
10: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$ControlChar.VSTATUS:Ljdk/internal/org/jline/terminal/Attributes$ControlChar;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getControlChar:(Ljdk/internal/org/jline/terminal/Attributes$ControlChar;)I
if_icmpne 12
11: aload 0
getstatic jdk.internal.org.jline.terminal.Terminal$Signal.INFO:Ljdk/internal/org/jline/terminal/Terminal$Signal;
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
12: StackMap locals:
StackMap stack:
iload 1
bipush 13
if_icmpne 18
13: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$InputFlag.IGNCR:Ljdk/internal/org/jline/terminal/Attributes$InputFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getInputFlag:(Ljdk/internal/org/jline/terminal/Attributes$InputFlag;)Z
ifeq 15
14: return
15: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$InputFlag.ICRNL:Ljdk/internal/org/jline/terminal/Attributes$InputFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getInputFlag:(Ljdk/internal/org/jline/terminal/Attributes$InputFlag;)Z
ifeq 20
16: bipush 10
istore 1
17: goto 20
StackMap locals:
StackMap stack:
18: iload 1
bipush 10
if_icmpne 20
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
getstatic jdk.internal.org.jline.terminal.Attributes$InputFlag.INLCR:Ljdk/internal/org/jline/terminal/Attributes$InputFlag;
invokevirtual jdk.internal.org.jline.terminal.Attributes.getInputFlag:(Ljdk/internal/org/jline/terminal/Attributes$InputFlag;)Z
ifeq 20
19: bipush 13
istore 1
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.slaveInputPipe:Ljava/io/Writer;
iload 1
invokevirtual java.io.Writer.write:(I)V
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 22 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public boolean trackMouse(jdk.internal.org.jline.terminal.Terminal$MouseTracking);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.tracking:Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
1: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.updateConsoleMode:()V
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
0 3 1 tracking Ljdk/internal/org/jline/terminal/Terminal$MouseTracking;
MethodParameters:
Name Flags
tracking
protected abstract int getConsoleOutputCP();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int getConsoleMode();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void setConsoleMode(int);
descriptor: (I)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
mode
protected abstract boolean processConsoleInput();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
private void lambda$0(jdk.internal.org.jline.terminal.Terminal$Signal);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
private void lambda$2(jdk.internal.org.jline.terminal.Terminal$Signal);
descriptor: (Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractWindowsTerminal.raise:(Ljdk/internal/org/jline/terminal/Terminal$Signal;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractWindowsTerminal;
}
SourceFile: "AbstractWindowsTerminal.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public final ControlChar = jdk.internal.org.jline.terminal.Attributes$ControlChar of jdk.internal.org.jline.terminal.Attributes
public final InputFlag = jdk.internal.org.jline.terminal.Attributes$InputFlag of jdk.internal.org.jline.terminal.Attributes
public final LocalFlag = jdk.internal.org.jline.terminal.Attributes$LocalFlag of jdk.internal.org.jline.terminal.Attributes
public final MouseTracking = jdk.internal.org.jline.terminal.Terminal$MouseTracking of jdk.internal.org.jline.terminal.Terminal
public final Signal = jdk.internal.org.jline.terminal.Terminal$Signal of jdk.internal.org.jline.terminal.Terminal
public abstract SignalHandler = jdk.internal.org.jline.terminal.Terminal$SignalHandler of jdk.internal.org.jline.terminal.Terminal
public final Capability = jdk.internal.org.jline.utils.InfoCmp$Capability of jdk.internal.org.jline.utils.InfoCmp
public abstract Task = jdk.internal.org.jline.utils.ShutdownHooks$Task of jdk.internal.org.jline.utils.ShutdownHooks