class jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper extends jdk.internal.org.jline.utils.NonBlockingInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper
super_class: jdk.internal.org.jline.utils.NonBlockingInputStream
{
private final jdk.internal.org.jline.utils.NonBlockingInputStream in;
descriptor: Ljdk/internal/org/jline/utils/NonBlockingInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicBoolean closed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.internal.org.jline.terminal.impl.PosixPtyTerminal this$0;
descriptor: Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(jdk.internal.org.jline.terminal.impl.PosixPtyTerminal, jdk.internal.org.jline.utils.NonBlockingInputStream);
descriptor: (Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;Ljdk/internal/org/jline/utils/NonBlockingInputStream;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.this$0:Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal;
aload 0
invokespecial jdk.internal.org.jline.utils.NonBlockingInputStream.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
aload 2
putfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.in:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal$InputStreamWrapper;
0 4 2 in Ljdk/internal/org/jline/utils/NonBlockingInputStream;
MethodParameters:
Name Flags
this$0 final
in
public int read(long, boolean);
descriptor: (JZ)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 2
1: new jdk.internal.org.jline.utils.ClosedException
dup
invokespecial jdk.internal.org.jline.utils.ClosedException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.in:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
lload 1
iload 3
invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.read:(JZ)I
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal$InputStreamWrapper;
0 3 1 timeout J
0 3 3 isPeek Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timeout
isPeek
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper.closed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/terminal/impl/PosixPtyTerminal$InputStreamWrapper;
Exceptions:
throws java.io.IOException
}
SourceFile: "PosixPtyTerminal.java"
NestHost: jdk.internal.org.jline.terminal.impl.PosixPtyTerminal
InnerClasses:
private InputStreamWrapper = jdk.internal.org.jline.terminal.impl.PosixPtyTerminal$InputStreamWrapper of jdk.internal.org.jline.terminal.impl.PosixPtyTerminal