public class java.io.PushbackInputStream extends java.io.FilterInputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.io.PushbackInputStream
super_class: java.io.FilterInputStream
{
protected byte[] buf;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected int pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield java.io.PushbackInputStream.in:Ljava/io/InputStream;
ifnonnull 2
1: new java.io.IOException
dup
ldc "Stream closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/io/PushbackInputStream;
Exceptions:
throws java.io.IOException
public void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
1: iload 2
ifgt 3
2: new java.lang.IllegalArgumentException
dup
ldc "size <= 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.io.PushbackInputStream java.io.InputStream int
StackMap stack:
aload 0
iload 2
newarray 8
putfield java.io.PushbackInputStream.buf:[B
4: aload 0
iload 2
putfield java.io.PushbackInputStream.pos:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/PushbackInputStream;
0 6 1 in Ljava/io/InputStream;
0 6 2 size I
MethodParameters:
Name Flags
in
size
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/PushbackInputStream;
0 2 1 in Ljava/io/InputStream;
MethodParameters:
Name Flags
in
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: aload 0
getfield java.io.PushbackInputStream.pos:I
aload 0
getfield java.io.PushbackInputStream.buf:[B
arraylength
if_icmpge 3
2: aload 0
getfield java.io.PushbackInputStream.buf:[B
aload 0
dup
getfield java.io.PushbackInputStream.pos:I
dup_x1
iconst_1
iadd
putfield java.io.PushbackInputStream.pos:I
baload
sipush 255
iand
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokespecial java.io.FilterInputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/PushbackInputStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 2
iflt 4
iload 3
iflt 4
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 5
4: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifne 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield java.io.PushbackInputStream.buf:[B
arraylength
aload 0
getfield java.io.PushbackInputStream.pos:I
isub
istore 4
start local 4 8: iload 4
ifle 15
9: iload 3
iload 4
if_icmpge 11
10: iload 3
istore 4
11: StackMap locals: int
StackMap stack:
aload 0
getfield java.io.PushbackInputStream.buf:[B
aload 0
getfield java.io.PushbackInputStream.pos:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
dup
getfield java.io.PushbackInputStream.pos:I
iload 4
iadd
putfield java.io.PushbackInputStream.pos:I
13: iload 2
iload 4
iadd
istore 2
14: iload 3
iload 4
isub
istore 3
15: StackMap locals:
StackMap stack:
iload 3
ifle 22
16: aload 0
aload 1
iload 2
iload 3
invokespecial java.io.FilterInputStream.read:([BII)I
istore 3
17: iload 3
iconst_m1
if_icmpne 21
18: iload 4
ifne 19
iconst_m1
goto 20
StackMap locals:
StackMap stack:
19: iload 4
StackMap locals:
StackMap stack: int
20: ireturn
21: StackMap locals:
StackMap stack:
iload 4
iload 3
iadd
ireturn
22: StackMap locals:
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 23 0 this Ljava/io/PushbackInputStream;
0 23 1 b [B
0 23 2 off I
0 23 3 len I
8 23 4 avail I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void unread(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: aload 0
getfield java.io.PushbackInputStream.pos:I
ifne 3
2: new java.io.IOException
dup
ldc "Push back buffer is full"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield java.io.PushbackInputStream.buf:[B
aload 0
dup
getfield java.io.PushbackInputStream.pos:I
iconst_1
isub
dup_x1
putfield java.io.PushbackInputStream.pos:I
iload 1
i2b
bastore
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/io/PushbackInputStream;
0 5 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void unread(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: iload 3
aload 0
getfield java.io.PushbackInputStream.pos:I
if_icmple 3
2: new java.io.IOException
dup
ldc "Push back buffer is full"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.io.PushbackInputStream.pos:I
iload 3
isub
putfield java.io.PushbackInputStream.pos:I
4: aload 1
iload 2
aload 0
getfield java.io.PushbackInputStream.buf:[B
aload 0
getfield java.io.PushbackInputStream.pos:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/PushbackInputStream;
0 6 1 b [B
0 6 2 off I
0 6 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void unread(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.PushbackInputStream.unread:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/PushbackInputStream;
0 2 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: aload 0
getfield java.io.PushbackInputStream.buf:[B
arraylength
aload 0
getfield java.io.PushbackInputStream.pos:I
isub
istore 1
start local 1 2: aload 0
invokespecial java.io.FilterInputStream.available:()I
istore 2
start local 2 3: iload 1
ldc 2147483647
iload 2
isub
if_icmple 5
4: ldc 2147483647
goto 6
5: StackMap locals: int int
StackMap stack:
iload 1
iload 2
iadd
6: StackMap locals:
StackMap stack: int
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/io/PushbackInputStream;
2 7 1 n I
3 7 2 avail I
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.PushbackInputStream.ensureOpen:()V
1: lload 1
lconst_0
lcmp
ifgt 3
2: lconst_0
lreturn
3: StackMap locals:
StackMap stack:
aload 0
getfield java.io.PushbackInputStream.buf:[B
arraylength
aload 0
getfield java.io.PushbackInputStream.pos:I
isub
i2l
lstore 3
start local 3 4: lload 3
lconst_0
lcmp
ifle 9
5: lload 1
lload 3
lcmp
ifge 7
6: lload 1
lstore 3
7: StackMap locals: long
StackMap stack:
aload 0
dup
getfield java.io.PushbackInputStream.pos:I
i2l
lload 3
ladd
l2i
putfield java.io.PushbackInputStream.pos:I
8: lload 1
lload 3
lsub
lstore 1
9: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 11
10: lload 3
aload 0
lload 1
invokespecial java.io.FilterInputStream.skip:(J)J
ladd
lstore 3
11: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/io/PushbackInputStream;
0 12 1 n J
4 12 3 pskip J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/PushbackInputStream;
public synchronized void mark(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/PushbackInputStream;
0 1 1 readlimit I
MethodParameters:
Name Flags
readlimit
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "mark/reset not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/PushbackInputStream;
Exceptions:
throws java.io.IOException
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
getfield java.io.PushbackInputStream.in:Ljava/io/InputStream;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield java.io.PushbackInputStream.in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
3: aload 0
aconst_null
putfield java.io.PushbackInputStream.in:Ljava/io/InputStream;
4: aload 0
aconst_null
putfield java.io.PushbackInputStream.buf:[B
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/PushbackInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "PushbackInputStream.java"