final class jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal extends jdk.internal.jline.NoInterruptUnixTerminal 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$JShellUnixTerminal
super_class: jdk.internal.jline.NoInterruptUnixTerminal
{
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.NoInterruptUnixTerminal.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal.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$JShellUnixTerminal;
0 3 1 input Ljdk/internal/jshell/tool/StopDetectingInputStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
input
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$JShellUnixTerminal.getSettings:()Ljdk/internal/jline/internal/TerminalLineSettings;
ldc "-a"
invokevirtual jdk.internal.jline.internal.TerminalLineSettings.get:(Ljava/lang/String;)Ljava/lang/String;
ldc "-icanon"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
1: ireturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellUnixTerminal;
Exception table:
from to target type
0 1 2 Class java.io.IOException
0 1 2 Class java.lang.InterruptedException
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$JShellUnixTerminal.input:Ljdk/internal/jshell/tool/StopDetectingInputStream;
aload 0
aload 1
invokespecial jdk.internal.jline.NoInterruptUnixTerminal.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$JShellUnixTerminal;
0 1 1 in Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public void disableInterruptCharacter();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellUnixTerminal;
public void enableInterruptCharacter();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellUnixTerminal;
public void suspend();
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$JShellUnixTerminal.getSettings:()Ljdk/internal/jline/internal/TerminalLineSettings;
invokevirtual jdk.internal.jline.internal.TerminalLineSettings.restore:()V
1: aload 0
invokespecial jdk.internal.jline.NoInterruptUnixTerminal.disableInterruptCharacter:()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$JShellUnixTerminal;
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$JShellUnixTerminal.init:()V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: astore 1
start local 1 3: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$JShellUnixTerminal;
3 4 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
private final JShellUnixTerminal = jdk.internal.jshell.tool.ConsoleIOContext$JShellUnixTerminal of jdk.internal.jshell.tool.ConsoleIOContext
private abstract SuspendableTerminal = jdk.internal.jshell.tool.ConsoleIOContext$SuspendableTerminal of jdk.internal.jshell.tool.ConsoleIOContext