final class jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal extends jdk.internal.org.jline.terminal.impl.LineDisciplineTerminal
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal
super_class: jdk.internal.org.jline.terminal.impl.LineDisciplineTerminal
{
private static final int DEFAULT_HEIGHT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 24
private final jdk.internal.org.jline.utils.NonBlockingReader inputReader;
descriptor: Ljdk/internal/org/jline/utils/NonBlockingReader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.InputStream, java.io.OutputStream);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "test"
ldc "ansi"
aload 2
ldc "UTF-8"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokespecial jdk.internal.org.jline.terminal.impl.LineDisciplineTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
1: aload 0
aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.getName:()Ljava/lang/String;
aload 1
aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.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.jshell.tool.ConsoleIOContext$TestTerminal.inputReader:Ljdk/internal/org/jline/utils/NonBlockingReader;
2: new jdk.internal.org.jline.terminal.Attributes
dup
aload 0
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.getAttributes:()Ljdk/internal/org/jline/terminal/Attributes;
invokespecial jdk.internal.org.jline.terminal.Attributes.<init>:(Ljdk/internal/org/jline/terminal/Attributes;)V
astore 3
start local 3 3: aload 3
getstatic jdk.internal.org.jline.terminal.Attributes$LocalFlag.ECHO:Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;
iconst_0
invokevirtual jdk.internal.org.jline.terminal.Attributes.setLocalFlag:(Ljdk/internal/org/jline/terminal/Attributes$LocalFlag;Z)V
4: aload 0
aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.attributes:Ljdk/internal/org/jline/terminal/Attributes;
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.setAttributes:(Ljdk/internal/org/jline/terminal/Attributes;)V
5: bipush 24
istore 4
start local 4 6: ldc "test.terminal.height"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 7: aload 5
ifnull 11
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 11
8: aload 5
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
end local 5 9: goto 11
StackMap locals: jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal java.io.InputStream java.io.OutputStream jdk.internal.org.jline.terminal.Attributes int
StackMap stack: java.lang.Throwable
10: pop
11: StackMap locals:
StackMap stack:
aload 0
new jdk.internal.org.jline.terminal.Size
dup
bipush 80
iload 4
invokespecial jdk.internal.org.jline.terminal.Size.<init>:(II)V
invokevirtual jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.setSize:(Ljdk/internal/org/jline/terminal/Size;)V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$TestTerminal;
0 13 1 input Ljava/io/InputStream;
0 13 2 output Ljava/io/OutputStream;
3 13 3 a Ljdk/internal/org/jline/terminal/Attributes;
6 13 4 h I
7 9 5 hp Ljava/lang/String;
Exception table:
from to target type
6 9 10 Class java.lang.Throwable
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
input
output
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.jshell.tool.ConsoleIOContext$TestTerminal.inputReader:Ljdk/internal/org/jline/utils/NonBlockingReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$TestTerminal;
protected void doClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.internal.org.jline.terminal.impl.LineDisciplineTerminal.doClose:()V
1: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.slaveInput:Ljdk/internal/org/jline/utils/NonBlockingPumpInputStream;
invokevirtual jdk.internal.org.jline.utils.NonBlockingPumpInputStream.close:()V
2: aload 0
getfield jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal.inputReader:Ljdk/internal/org/jline/utils/NonBlockingReader;
invokevirtual jdk.internal.org.jline.utils.NonBlockingReader.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jshell/tool/ConsoleIOContext$TestTerminal;
Exceptions:
throws java.io.IOException
}
SourceFile: "ConsoleIOContext.java"
NestHost: jdk.internal.jshell.tool.ConsoleIOContext
InnerClasses:
private final TestTerminal = jdk.internal.jshell.tool.ConsoleIOContext$TestTerminal of jdk.internal.jshell.tool.ConsoleIOContext
public final LocalFlag = jdk.internal.org.jline.terminal.Attributes$LocalFlag of jdk.internal.org.jline.terminal.Attributes