public abstract class jdk.internal.org.jline.terminal.impl.AbstractPty implements jdk.internal.org.jline.terminal.spi.Pty
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.internal.org.jline.terminal.impl.AbstractPty
super_class: java.lang.Object
{
private jdk.internal.org.jline.terminal.Attributes current;
descriptor: Ljdk/internal/org/jline/terminal/Attributes;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPty;
public void setAttr(jdk.internal.org.jline.terminal.Attributes);
descriptor: (Ljdk/internal/org/jline/terminal/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new jdk.internal.org.jline.terminal.Attributes
dup
aload 1
invokespecial jdk.internal.org.jline.terminal.Attributes.<init>:(Ljdk/internal/org/jline/terminal/Attributes;)V
putfield jdk.internal.org.jline.terminal.impl.AbstractPty.current:Ljdk/internal/org/jline/terminal/Attributes;
1: aload 0
aload 1
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractPty.doSetAttr:(Ljdk/internal/org/jline/terminal/Attributes;)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/AbstractPty;
0 3 1 attr Ljdk/internal/org/jline/terminal/Attributes;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attr
public java.io.InputStream getSlaveInput();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.terminal.impl.AbstractPty.doGetSlaveInput:()Ljava/io/InputStream;
astore 1
start local 1 1: ldc "org.jline.terminal.pty.nonBlockingReads"
ldc "true"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
ifeq 3
2: new jdk.internal.org.jline.terminal.impl.AbstractPty$PtyInputStream
dup
aload 0
aload 1
invokespecial jdk.internal.org.jline.terminal.impl.AbstractPty$PtyInputStream.<init>:(Ljdk/internal/org/jline/terminal/impl/AbstractPty;Ljava/io/InputStream;)V
areturn
3: StackMap locals: java.io.InputStream
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPty;
1 4 1 si Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
protected abstract void doSetAttr(jdk.internal.org.jline.terminal.Attributes);
descriptor: (Ljdk/internal/org/jline/terminal/Attributes;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attr
protected abstract java.io.InputStream doGetSlaveInput();
descriptor: ()Ljava/io/InputStream;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
protected void checkInterrupted();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic java.lang.Thread.interrupted:()Z
ifeq 2
1: new java.io.InterruptedIOException
dup
invokespecial java.io.InterruptedIOException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/terminal/impl/AbstractPty;
Exceptions:
throws java.io.InterruptedIOException
}
SourceFile: "AbstractPty.java"
NestMembers:
jdk.internal.org.jline.terminal.impl.AbstractPty$PtyInputStream
InnerClasses:
PtyInputStream = jdk.internal.org.jline.terminal.impl.AbstractPty$PtyInputStream of jdk.internal.org.jline.terminal.impl.AbstractPty