final class jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal extends jdk.internal.jline.WindowsTerminal implements jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal
super_class: jdk.internal.jline.WindowsTerminal
{
private final jdk.internal.jshell.tool.StopDetectingInputStream input;
descriptor: Ljdk/internal/jshell/tool/StopDetectingInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.internal.jshell.tool.StopDetectingInputStream);
descriptor: (Ljdk/internal/jshell/tool/StopDetectingInputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.internal.jline.WindowsTerminal.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
0 3 1 input Ljdk/internal/jshell/tool/StopDetectingInputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
input
public void init();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.internal.jline.WindowsTerminal.init:()V
1: aload 0
iconst_0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.setAnsiSupported:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
Exceptions:
throws java.lang.Exception
public java.io.InputStream wrapInIfNeeded(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
aload 0
aload 1
invokespecial jdk.internal.jline.WindowsTerminal.wrapInIfNeeded:(Ljava/io/InputStream;)Ljava/io/InputStream;
invokevirtual jdk.internal.jshell.tool.StopDetectingInputStream.setInputStream:(Ljava/io/InputStream;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
0 1 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public void suspend();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.restore:()V
1: aload 0
aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.getConsoleMode:()I
getstatic jdk.internal.jline.WindowsTerminal$ConsoleMode.ENABLE_PROCESSED_INPUT:Ljdk/internal/jline/WindowsTerminal$ConsoleMode;
getfield jdk.internal.jline.WindowsTerminal$ConsoleMode.code:I
iconst_m1
ixor
iand
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.setConsoleMode:(I)V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
4 5 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
public void resume();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.restore:()V
1: aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.init:()V
2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
4 5 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
public boolean isRaw();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal.getConsoleMode:()I
getstatic jdk.internal.jline.WindowsTerminal$ConsoleMode.ENABLE_LINE_INPUT:Ljdk/internal/jline/WindowsTerminal$ConsoleMode;
getfield jdk.internal.jline.WindowsTerminal$ConsoleMode.code:I
iand
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellWindowsTerminal;
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
public final ConsoleMode = jdk.internal.jline.WindowsTerminal$ConsoleMode of jdk.internal.jline.WindowsTerminal
private final JShellWindowsTerminal = jdk.internal.jshell.tool.ConsoleIOContext$JShellWindowsTerminal of jdk.internal.jshell.tool.ConsoleIOContext
private abstract SuspendableTerminal = jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal of jdk.internal.jshell.tool.ConsoleIOContext