class jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader extends jdk.internal.org.jline.utils.NonBlockingReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader
super_class: jdk.internal.org.jline.utils.NonBlockingReader
{
private final jdk.internal.org.jline.utils.NonBlockingInputStream input;
descriptor: Ljdk/internal/org/jline/utils/NonBlockingInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.charset.CharsetDecoder decoder;
descriptor: Ljava/nio/charset/CharsetDecoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer bytes;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.CharBuffer chars;
descriptor: Ljava/nio/CharBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.internal.org.jline.utils.NonBlockingInputStream, java.nio.charset.Charset);
descriptor: (Ljdk/internal/org/jline/utils/NonBlockingInputStream;Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: uninitialized-this jdk.internal.org.jline.utils.NonBlockingInputStream java.nio.charset.Charset
StackMap stack: uninitialized-this jdk.internal.org.jline.utils.NonBlockingInputStream
2: invokestatic java.nio.charset.Charset.defaultCharset:()Ljava/nio/charset/Charset;
StackMap locals: uninitialized-this jdk.internal.org.jline.utils.NonBlockingInputStream java.nio.charset.Charset
StackMap stack: uninitialized-this jdk.internal.org.jline.utils.NonBlockingInputStream java.nio.charset.Charset
3: invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
4: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
5: getstatic java.nio.charset.CodingErrorAction.REPLACE:Ljava/nio/charset/CodingErrorAction;
invokevirtual java.nio.charset.CharsetDecoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
invokespecial jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.<init>:(Ljdk/internal/org/jline/utils/NonBlockingInputStream;Ljava/nio/charset/CharsetDecoder;)V
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/NonBlocking$NonBlockingInputStreamReader;
0 7 1 inputStream Ljdk/internal/org/jline/utils/NonBlockingInputStream;
0 7 2 encoding Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
inputStream
encoding
public void <init>(jdk.internal.org.jline.utils.NonBlockingInputStream, java.nio.charset.CharsetDecoder);
descriptor: (Ljdk/internal/org/jline/utils/NonBlockingInputStream;Ljava/nio/charset/CharsetDecoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.internal.org.jline.utils.NonBlockingReader.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
2: aload 0
aload 2
putfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
3: aload 0
iconst_4
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
4: aload 0
iconst_2
invokestatic java.nio.CharBuffer.allocate:(I)Ljava/nio/CharBuffer;
putfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
5: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
6: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.CharBuffer.limit:(I)Ljava/nio/CharBuffer;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/org/jline/utils/NonBlocking$NonBlockingInputStreamReader;
0 8 1 input Ljdk/internal/org/jline/utils/NonBlockingInputStream;
0 8 2 decoder Ljava/nio/charset/CharsetDecoder;
MethodParameters:
Name Flags
input
decoder
protected int read(long, boolean);
descriptor: (JZ)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifgt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: goto 22
4: StackMap locals: int
StackMap stack:
lconst_0
lstore 5
start local 5 5: iload 4
ifne 7
6: invokestatic java.lang.System.currentTimeMillis:()J
lstore 5
7: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
lload 1
invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.read:(J)I
istore 7
start local 7 8: iload 7
iconst_m1
if_icmpne 10
9: iconst_m1
ireturn
10: StackMap locals: int
StackMap stack:
iload 7
iflt 20
11: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 14
12: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
13: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
14: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.limit:()I
istore 8
start local 8 15: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 8
iadd
iload 7
i2b
bastore
16: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
iload 8
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/ByteBuffer;
pop
17: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.clear:()Ljava/nio/CharBuffer;
pop
18: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.bytes:Ljava/nio/ByteBuffer;
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
pop
19: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/CharBuffer;
pop
end local 8 20: StackMap locals:
StackMap stack:
iload 4
ifne 22
21: lload 1
invokestatic java.lang.System.currentTimeMillis:()J
lload 5
lsub
lsub
lstore 1
end local 7 end local 5 22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 23
iload 4
ifne 4
lload 1
lconst_0
lcmp
ifgt 4
23: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 27
24: iload 3
ifeq 26
25: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.position:()I
invokevirtual java.nio.CharBuffer.get:(I)C
ireturn
26: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.get:()C
ireturn
27: StackMap locals:
StackMap stack:
bipush -2
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/internal/org/jline/utils/NonBlocking$NonBlockingInputStreamReader;
0 28 1 timeout J
0 28 3 isPeek Z
3 28 4 isInfinite Z
5 22 5 start J
8 22 7 b I
15 20 8 l I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
timeout
isPeek
public int readBuffered(char[]);
descriptor: ([C)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 8
5: aload 1
arraylength
aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
invokevirtual java.nio.CharBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 6: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.chars:Ljava/nio/CharBuffer;
aload 1
invokevirtual java.nio.CharBuffer.get:([C)Ljava/nio/CharBuffer;
pop
7: iload 2
ireturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
arraylength
newarray 8
astore 2
start local 2 9: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
aload 2
invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.readBuffered:([B)I
istore 3
start local 3 10: iload 3
ifge 12
11: iload 3
ireturn
12: StackMap locals: byte[] int
StackMap stack:
aload 2
iconst_0
iload 3
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
astore 4
start local 4 13: aload 1
invokestatic java.nio.CharBuffer.wrap:([C)Ljava/nio/CharBuffer;
astore 5
start local 5 14: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.decoder:Ljava/nio/charset/CharsetDecoder;
aload 4
aload 5
iconst_0
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;
pop
15: aload 5
invokevirtual java.nio.CharBuffer.flip:()Ljava/nio/CharBuffer;
pop
16: aload 5
invokevirtual java.nio.CharBuffer.remaining:()I
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 17 0 this Ljdk/internal/org/jline/utils/NonBlocking$NonBlockingInputStreamReader;
0 17 1 b [C
6 8 2 r I
9 17 2 buf [B
10 17 3 l I
13 17 4 bytes Ljava/nio/ByteBuffer;
14 17 5 chars Ljava/nio/CharBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.shutdown:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/NonBlocking$NonBlockingInputStreamReader;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.input:Ljdk/internal/org/jline/utils/NonBlockingInputStream;
invokevirtual jdk.internal.org.jline.utils.NonBlockingInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/org/jline/utils/NonBlocking$NonBlockingInputStreamReader;
Exceptions:
throws java.io.IOException
}
SourceFile: "NonBlocking.java"
NestHost: jdk.internal.org.jline.utils.NonBlocking
InnerClasses:
private NonBlockingInputStreamReader = jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader of jdk.internal.org.jline.utils.NonBlocking