public class jdk.internal.org.jline.utils.NonBlockingPumpReader extends jdk.internal.org.jline.utils.NonBlockingReader
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.internal.org.jline.utils.NonBlockingPumpReader
  super_class: jdk.internal.org.jline.utils.NonBlockingReader
{
  private static final int DEFAULT_BUFFER_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4096

  private final java.nio.CharBuffer readBuffer;
    descriptor: Ljava/nio/CharBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.nio.CharBuffer writeBuffer;
    descriptor: Ljava/nio/CharBuffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.Writer writer;
    descriptor: Ljava/io/Writer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 29
            aload 0 /* this */
            sipush 4096
            invokespecial jdk.internal.org.jline.utils.NonBlockingPumpReader.<init>:(I)V
         1: .line 30
            return
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
        start local 1 // int bufferSize
         0: .line 32
            aload 0 /* this */
            invokespecial jdk.internal.org.jline.utils.NonBlockingReader.<init>:()V
         1: .line 33
            iload 1 /* bufferSize */
            newarray 5
            astore 2 /* buf */
        start local 2 // char[] buf
         2: .line 34
            aload 0 /* this */
            aload 2 /* buf */
            invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
            putfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
         3: .line 35
            aload 0 /* this */
            aload 2 /* buf */
            invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
            putfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
         4: .line 36
            aload 0 /* this */
            new jdk.internal.org.jline.utils.NonBlockingPumpReader$NbpWriter
            dup
            aload 0 /* this */
            invokespecial jdk.internal.org.jline.utils.NonBlockingPumpReader$NbpWriter.<init>:(Ljdk/internal/org/jline/utils/NonBlockingPumpReader;)V
            putfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writer:Ljava/io/Writer;
         5: .line 38
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            iconst_0
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         6: .line 39
            return
        end local 2 // char[] buf
        end local 1 // int bufferSize
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
            0    7     1  bufferSize  I
            2    7     2         buf  [C
    MethodParameters:
            Name  Flags
      bufferSize  

  public java.io.Writer getWriter();
    descriptor: ()Ljava/io/Writer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 42
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writer:Ljava/io/Writer;
            areturn
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;

  private int wait(java.nio.CharBuffer, long);
    descriptor: (Ljava/nio/CharBuffer;J)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
        start local 1 // java.nio.CharBuffer buffer
        start local 2 // long timeout
         0: .line 46
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifgt 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 4 /* isInfinite */
        start local 4 // boolean isInfinite
         3: .line 47
            lconst_0
            lstore 5 /* end */
        start local 5 // long end
         4: .line 48
            iload 4 /* isInfinite */
            ifne 14
         5: .line 49
            invokestatic java.lang.System.currentTimeMillis:()J
            lload 2 /* timeout */
            ladd
            lstore 5 /* end */
         6: .line 51
            goto 14
         7: .line 53
      StackMap locals: int long
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         8: .line 55
            aload 0 /* this */
            lload 2 /* timeout */
            invokevirtual java.lang.Object.wait:(J)V
         9: .line 56
            goto 12
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        10: pop
        11: .line 57
            new java.io.InterruptedIOException
            dup
            invokespecial java.io.InterruptedIOException.<init>:()V
            athrow
        12: .line 59
      StackMap locals:
      StackMap stack:
            iload 4 /* isInfinite */
            ifne 14
        13: .line 60
            lload 5 /* end */
            invokestatic java.lang.System.currentTimeMillis:()J
            lsub
            lstore 2 /* timeout */
        14: .line 51
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.closed:Z
            ifne 15
            aload 1 /* buffer */
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifne 15
            iload 4 /* isInfinite */
            ifne 7
            lload 2 /* timeout */
            lconst_0
            lcmp
            ifgt 7
        15: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.closed:Z
            ifeq 17
        16: .line 64
            iconst_m1
            goto 20
        17: .line 65
      StackMap locals:
      StackMap stack:
            aload 1 /* buffer */
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 19
        18: .line 66
            iconst_0
            goto 20
        19: .line 67
      StackMap locals:
      StackMap stack:
            bipush -2
        20: .line 63
      StackMap locals:
      StackMap stack: int
            ireturn
        end local 5 // long end
        end local 4 // boolean isInfinite
        end local 2 // long timeout
        end local 1 // java.nio.CharBuffer buffer
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   21     0        this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
            0   21     1      buffer  Ljava/nio/CharBuffer;
            0   21     2     timeout  J
            3   21     4  isInfinite  Z
            4   21     5         end  J
      Exception table:
        from    to  target  type
           8     9      10  Class java.lang.InterruptedException
    Exceptions:
      throws java.io.InterruptedIOException
    MethodParameters:
         Name  Flags
      buffer   
      timeout  

  private static boolean rewind(java.nio.CharBuffer, java.nio.CharBuffer);
    descriptor: (Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.nio.CharBuffer buffer
        start local 1 // java.nio.CharBuffer other
         0: .line 72
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            aload 1 /* other */
            invokevirtual java.nio.CharBuffer.position:()I
            if_icmple 2
         1: .line 73
            aload 1 /* other */
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         2: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.position:()I
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.capacity:()I
            if_icmpne 6
         3: .line 77
            aload 0 /* buffer */
            invokevirtual java.nio.CharBuffer.rewind:()Ljava/nio/CharBuffer;
            pop
         4: .line 78
            aload 0 /* buffer */
            aload 1 /* other */
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
            pop
         5: .line 79
            iconst_1
            ireturn
         6: .line 81
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.nio.CharBuffer other
        end local 0 // java.nio.CharBuffer buffer
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0  buffer  Ljava/nio/CharBuffer;
            0    7     1   other  Ljava/nio/CharBuffer;
    MethodParameters:
        Name  Flags
      buffer  
      other   

  public synchronized boolean ready();
    descriptor: ()Z
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 87
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ireturn
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;

  public synchronized int available();
    descriptor: ()I
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 91
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            istore 1 /* count */
        start local 1 // int count
         1: .line 92
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            if_icmpge 3
         2: .line 93
            iload 1 /* count */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            iadd
            istore 1 /* count */
         3: .line 95
      StackMap locals: int
      StackMap stack:
            iload 1 /* count */
            ireturn
        end local 1 // int count
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
            1    4     1  count  I

  protected synchronized int read(long, boolean);
    descriptor: (JZ)I
    flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
        start local 1 // long timeout
        start local 3 // boolean isPeek
         0: .line 101
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            lload 1 /* timeout */
            invokevirtual jdk.internal.org.jline.utils.NonBlockingPumpReader.wait:(Ljava/nio/CharBuffer;J)I
            istore 4 /* res */
        start local 4 // int res
         1: .line 102
            iload 4 /* res */
            iflt 5
         2: .line 103
            iload 3 /* isPeek */
            ifeq 3
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.position:()I
            invokevirtual java.nio.CharBuffer.get:(I)C
            goto 4
      StackMap locals: int
      StackMap stack:
         3: aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.get:()C
      StackMap locals:
      StackMap stack: int
         4: istore 4 /* res */
         5: .line 105
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokestatic jdk.internal.org.jline.utils.NonBlockingPumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
            pop
         6: .line 106
            iload 4 /* res */
            ireturn
        end local 4 // int res
        end local 3 // boolean isPeek
        end local 1 // long timeout
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
            0    7     1  timeout  J
            0    7     3   isPeek  Z
            1    7     4      res  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      timeout  
      isPeek   

  synchronized void write(char[], int, int);
    descriptor: ([CII)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 110
            goto 8
         1: .line 113
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            lconst_0
            invokevirtual jdk.internal.org.jline.utils.NonBlockingPumpReader.wait:(Ljava/nio/CharBuffer;J)I
            iconst_m1
            if_icmpne 3
         2: .line 114
            new jdk.internal.org.jline.utils.ClosedException
            dup
            invokespecial jdk.internal.org.jline.utils.ClosedException.<init>:()V
            athrow
         3: .line 117
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 4 /* count */
        start local 4 // int count
         4: .line 118
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            aload 1 /* cbuf */
            iload 2 /* off */
            iload 4 /* count */
            invokevirtual java.nio.CharBuffer.put:([CII)Ljava/nio/CharBuffer;
            pop
         5: .line 119
            iload 2 /* off */
            iload 4 /* count */
            iadd
            istore 2 /* off */
         6: .line 120
            iload 3 /* len */
            iload 4 /* count */
            isub
            istore 3 /* len */
         7: .line 122
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.writeBuffer:Ljava/nio/CharBuffer;
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokestatic jdk.internal.org.jline.utils.NonBlockingPumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
            pop
        end local 4 // int count
         8: .line 110
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ifgt 1
         9: .line 124
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
            0   10     1   cbuf  [C
            0   10     2    off  I
            0   10     3    len  I
            4    8     4  count  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  synchronized void flush();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 128
            aload 0 /* this */
            getfield jdk.internal.org.jline.utils.NonBlockingPumpReader.readBuffer:Ljava/nio/CharBuffer;
            invokevirtual java.nio.CharBuffer.hasRemaining:()Z
            ifeq 2
         1: .line 130
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         2: .line 132
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;

  public synchronized void close();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
         0: .line 136
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.org.jline.utils.NonBlockingPumpReader.closed:Z
         1: .line 137
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         2: .line 138
            return
        end local 0 // jdk.internal.org.jline.utils.NonBlockingPumpReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/org/jline/utils/NonBlockingPumpReader;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "NonBlockingPumpReader.java"
NestMembers:
  jdk.internal.org.jline.utils.NonBlockingPumpReader$NbpWriter
InnerClasses:
  private NbpWriter = jdk.internal.org.jline.utils.NonBlockingPumpReader$NbpWriter of jdk.internal.org.jline.utils.NonBlockingPumpReader