public abstract class jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal 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.AbstractPosixTerminal
super_class: jdk.internal.org.jline.terminal.impl.AbstractTerminal
{
protected final jdk.internal.org.jline.terminal.spi.Pty pty;
descriptor: Ljdk/internal/org/jline/terminal/spi/Pty;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.internal.org.jline.terminal.Attributes originalAttributes;
descriptor: Ljdk/internal/org/jline/terminal/Attributes;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(java.lang.String, java.lang.String, jdk.internal.org.jline.terminal.spi.Pty);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aconst_null
getstatic jdk.internal.org.jline.terminal.Terminal$SignalHandler.SIG_DFL:Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
invokespecial jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
0 2 1 name Ljava/lang/String;
0 2 2 type Ljava/lang/String;
0 2 3 pty Ljdk/internal/org/jline/terminal/spi/Pty;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
type
pty
public void <init>(java.lang.String, java.lang.String, jdk.internal.org.jline.terminal.spi.Pty, java.nio.charset.Charset, jdk.internal.org.jline.terminal.Terminal$SignalHandler);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/internal/org/jline/terminal/spi/Pty;Ljava/nio/charset/Charset;Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 4
aload 5
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 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 3
putfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
3: aload 0
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getAttr:()Ljdk/internal/org/jline/terminal/Attributes;
putfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.originalAttributes:Ljdk/internal/org/jline/terminal/Attributes;
4: return
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 5 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
0 5 1 name Ljava/lang/String;
0 5 2 type Ljava/lang/String;
0 5 3 pty Ljdk/internal/org/jline/terminal/spi/Pty;
0 5 4 encoding Ljava/nio/charset/Charset;
0 5 5 signalHandler Ljdk/internal/org/jline/terminal/Terminal$SignalHandler;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
type
pty
encoding
signalHandler
public jdk.internal.org.jline.terminal.spi.Pty getPty();
descriptor: ()Ljdk/internal/org/jline/terminal/spi/Pty;
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.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
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
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getAttr:()Ljdk/internal/org/jline/terminal/Attributes;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.io.IOError
dup
aload 1
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public void setAttributes(jdk.internal.org.jline.terminal.Attributes);
descriptor: (Ljdk/internal/org/jline/terminal/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
aload 1
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.setAttr:(Ljdk/internal/org/jline/terminal/Attributes;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 2
start local 2 3: new java.io.IOError
dup
aload 2
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
0 5 1 attr Ljdk/internal/org/jline/terminal/Attributes;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
attr
public jdk.internal.org.jline.terminal.Size getSize();
descriptor: ()Ljdk/internal/org/jline/terminal/Size;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.getSize:()Ljdk/internal/org/jline/terminal/Size;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.io.IOError
dup
aload 1
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
aload 1
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.setSize:(Ljdk/internal/org/jline/terminal/Size;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 2
start local 2 3: new java.io.IOError
dup
aload 2
invokespecial java.io.IOError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
0 5 1 size Ljdk/internal/org/jline/terminal/Size;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
size
protected void doClose();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.internal.org.jline.terminal.impl.AbstractTerminal.doClose:()V
1: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.originalAttributes:Ljdk/internal/org/jline/terminal/Attributes;
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.setAttr:(Ljdk/internal/org/jline/terminal/Attributes;)V
2: aload 0
getfield jdk.internal.org.jline.terminal.impl.AbstractPosixTerminal.pty:Ljdk/internal/org/jline/terminal/spi/Pty;
invokeinterface jdk.internal.org.jline.terminal.spi.Pty.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
Exceptions:
throws java.io.IOException
public jdk.internal.org.jline.terminal.Cursor getCursorPosition(java.util.function.IntConsumer);
descriptor: (Ljava/util/function/IntConsumer;)Ljdk/internal/org/jline/terminal/Cursor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic jdk.internal.org.jline.terminal.impl.CursorSupport.getCursorPosition:(Ljdk/internal/org/jline/terminal/Terminal;Ljava/util/function/IntConsumer;)Ljdk/internal/org/jline/terminal/Cursor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPosixTerminal;
0 1 1 discarded Ljava/util/function/IntConsumer;
MethodParameters:
Name Flags
discarded
}
SourceFile: "AbstractPosixTerminal.java"
InnerClasses:
public abstract SignalHandler = jdk.internal.org.jline.terminal.Terminal$SignalHandler of jdk.internal.org.jline.terminal.Terminal