public class jdk.internal.org.jline.utils.PumpReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.org.jline.utils.PumpReader
super_class: java.io.Reader
{
private static final int EOF;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
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 jdk.internal.org.jline.utils.PumpReader$Writer writer;
descriptor: Ljdk/internal/org/jline/utils/PumpReader$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 0: aload 0
sipush 4096
invokespecial jdk.internal.org.jline.utils.PumpReader.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/PumpReader;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: iload 1
newarray 5
astore 2
start local 2 2: aload 0
aload 2
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
putfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
3: aload 0
aload 2
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
putfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
4: aload 0
new jdk.internal.org.jline.utils.PumpReader$Writer
dup
aload 0
invokespecial jdk.internal.org.jline.utils.PumpReader$Writer.<init>:(Ljdk/internal/org/jline/utils/PumpReader;)V
putfield jdk.internal.org.jline.utils.PumpReader.writer:Ljdk/internal/org/jline/utils/PumpReader$Writer;
5: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/internal/org/jline/utils/PumpReader;
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 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writer:Ljdk/internal/org/jline/utils/PumpReader$Writer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/PumpReader;
public java.io.InputStream createInputStream(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.internal.org.jline.utils.PumpReader$InputStream
dup
aload 0
aload 1
invokespecial jdk.internal.org.jline.utils.PumpReader$InputStream.<init>:(Ljdk/internal/org/jline/utils/PumpReader;Ljava/nio/charset/Charset;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
private boolean wait(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.closed:Z
ifeq 9
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.notifyAll:()V
3: aload 0
invokevirtual java.lang.Object.wait:()V
4: goto 7
StackMap locals:
StackMap stack: java.lang.InterruptedException
5: pop
6: new java.io.InterruptedIOException
dup
invokespecial java.io.InterruptedIOException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.closed:Z
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 2
10: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 11 1 buffer Ljava/nio/CharBuffer;
Exception table:
from to target type
3 4 5 Class java.lang.InterruptedException
Exceptions:
throws java.io.InterruptedIOException
MethodParameters:
Name Flags
buffer
private boolean waitForInput();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual jdk.internal.org.jline.utils.PumpReader.wait:(Ljava/nio/CharBuffer;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/PumpReader;
Exceptions:
throws java.io.InterruptedIOException
private void waitForBufferSpace();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual jdk.internal.org.jline.utils.PumpReader.wait:(Ljava/nio/CharBuffer;)Z
ifne 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:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/PumpReader;
Exceptions:
throws java.io.InterruptedIOException, jdk.internal.org.jline.utils.ClosedException
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 start local 1 0: aload 0
invokevirtual java.nio.CharBuffer.position:()I
aload 1
invokevirtual java.nio.CharBuffer.position:()I
if_icmple 2
1: aload 1
aload 0
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.CharBuffer.position:()I
aload 0
invokevirtual java.nio.CharBuffer.capacity:()I
if_icmpne 6
3: aload 0
invokevirtual java.nio.CharBuffer.rewind:()Ljava/nio/CharBuffer;
pop
4: aload 0
aload 1
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
pop
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 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
private boolean rewindReadBuffer();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokestatic jdk.internal.org.jline.utils.PumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
ifeq 1
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/PumpReader;
private void rewindWriteBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokestatic jdk.internal.org.jline.utils.PumpReader.rewind:(Ljava/nio/CharBuffer;Ljava/nio/CharBuffer;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/PumpReader;
public synchronized boolean ready();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/org/jline/utils/PumpReader;
public synchronized int available();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.remaining:()I
istore 1
start local 1 1: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
if_icmpge 3
2: iload 1
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/PumpReader;
1 4 1 count I
public synchronized int read();
descriptor: ()I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.get:()C
istore 1
start local 1 3: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
pop
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/org/jline/utils/PumpReader;
3 5 1 b I
Exceptions:
throws java.io.IOException
private int copyFromBuffer(char[], int, int);
descriptor: ([CII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 3
1: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 1
iload 2
iload 3
invokevirtual java.nio.CharBuffer.get:([CII)Ljava/nio/CharBuffer;
pop
2: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 3 1 cbuf [C
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
cbuf
off
len
public synchronized int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual jdk.internal.org.jline.utils.PumpReader.copyFromBuffer:([CII)I
istore 4
start local 4 5: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
ifeq 8
iload 4
iload 3
if_icmpge 8
6: iload 4
aload 0
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokevirtual jdk.internal.org.jline.utils.PumpReader.copyFromBuffer:([CII)I
iadd
istore 4
7: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
pop
8: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 9 1 cbuf [C
0 9 2 off I
0 9 3 len I
5 9 4 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public int read(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.read:(Ljava/nio/CharBuffer;)I
istore 2
start local 2 5: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
ifeq 8
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 8
6: iload 2
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.read:(Ljava/nio/CharBuffer;)I
iadd
istore 2
7: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
pop
8: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 9 1 target Ljava/nio/CharBuffer;
5 9 2 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
target
private void encodeBytes(java.nio.charset.CharsetEncoder, java.nio.ByteBuffer);
descriptor: (Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
astore 3
start local 3 1: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
ifeq 4
aload 3
invokevirtual java.nio.charset.CoderResult.isUnderflow:()Z
ifeq 4
2: aload 1
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
aload 2
iconst_0
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
pop
3: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindReadBuffer:()Z
pop
4: StackMap locals: java.nio.charset.CoderResult
StackMap stack:
return
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/utils/PumpReader;
0 5 1 encoder Ljava/nio/charset/CharsetEncoder;
0 5 2 output Ljava/nio/ByteBuffer;
1 5 3 result Ljava/nio/charset/CoderResult;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoder
output
synchronized int readBytes(java.nio.charset.CharsetEncoder, byte[], int, int);
descriptor: (Ljava/nio/charset/CharsetEncoder;[BII)I
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
iload 3
iload 4
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
astore 5
start local 5 3: aload 0
aload 1
aload 5
invokevirtual jdk.internal.org.jline.utils.PumpReader.encodeBytes:(Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
4: aload 5
invokevirtual java.nio.ByteBuffer.position:()I
iload 3
isub
ireturn
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/utils/PumpReader;
0 5 1 encoder Ljava/nio/charset/CharsetEncoder;
0 5 2 b [B
0 5 3 off I
0 5 4 len I
3 5 5 output Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoder
b
off
len
synchronized void readBytes(java.nio.charset.CharsetEncoder, java.nio.ByteBuffer);
descriptor: (Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForInput:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual jdk.internal.org.jline.utils.PumpReader.encodeBytes:(Ljava/nio/charset/CharsetEncoder;Ljava/nio/ByteBuffer;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 4 1 encoder Ljava/nio/charset/CharsetEncoder;
0 4 2 output Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoder
output
synchronized void write(char);
descriptor: (C)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
1: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
iload 1
invokevirtual java.nio.CharBuffer.put:(C)Ljava/nio/CharBuffer;
pop
2: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 4 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
synchronized void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 7
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
2: iload 3
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 3: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
aload 1
iload 2
iload 4
invokevirtual java.nio.CharBuffer.put:([CII)Ljava/nio/CharBuffer;
pop
4: iload 2
iload 4
iadd
istore 2
5: iload 3
iload 4
isub
istore 3
6: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
end local 4 7: StackMap locals:
StackMap stack:
iload 3
ifgt 1
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 9 1 cbuf [C
0 9 2 off I
0 9 3 len I
3 7 4 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
synchronized void write(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.array:()[C
astore 4
start local 4 1: goto 9
2: StackMap locals: char[]
StackMap stack:
aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.waitForBufferSpace:()V
3: iload 3
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 4: aload 1
iload 2
iload 2
iload 5
iadd
aload 4
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.lang.String.getChars:(II[CI)V
5: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
aload 0
getfield jdk.internal.org.jline.utils.PumpReader.writeBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
iload 5
iadd
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
6: iload 2
iload 5
iadd
istore 2
7: iload 3
iload 5
isub
istore 3
8: aload 0
invokevirtual jdk.internal.org.jline.utils.PumpReader.rewindWriteBuffer:()V
end local 5 9: StackMap locals:
StackMap stack:
iload 3
ifgt 2
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/internal/org/jline/utils/PumpReader;
0 11 1 str Ljava/lang/String;
0 11 2 off I
0 11 3 len I
1 11 4 buf [C
4 9 5 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
off
len
synchronized void flush();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.PumpReader.readBuffer:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 2
1: aload 0
invokevirtual java.lang.Object.notifyAll:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/PumpReader;
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.internal.org.jline.utils.PumpReader.closed:Z
1: aload 0
invokevirtual java.lang.Object.notifyAll:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/org/jline/utils/PumpReader;
Exceptions:
throws java.io.IOException
}
SourceFile: "PumpReader.java"
NestMembers:
jdk.internal.org.jline.utils.PumpReader$InputStream jdk.internal.org.jline.utils.PumpReader$Writer
InnerClasses:
private InputStream = jdk.internal.org.jline.utils.PumpReader$InputStream of jdk.internal.org.jline.utils.PumpReader
private Writer = jdk.internal.org.jline.utils.PumpReader$Writer of jdk.internal.org.jline.utils.PumpReader