public class java.io.CharArrayReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.io.CharArrayReader
super_class: java.io.Reader
{
protected char[] buf;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected int pos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int markedPos;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int count;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: aload 0
iconst_0
putfield java.io.CharArrayReader.markedPos:I
2: aload 0
aload 1
putfield java.io.CharArrayReader.buf:[C
3: aload 0
iconst_0
putfield java.io.CharArrayReader.pos:I
4: aload 0
aload 1
arraylength
putfield java.io.CharArrayReader.count:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/CharArrayReader;
0 6 1 buf [C
MethodParameters:
Name Flags
buf
public void <init>(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: aload 0
iconst_0
putfield java.io.CharArrayReader.markedPos:I
2: iload 2
iflt 4
iload 2
aload 1
arraylength
if_icmpgt 4
iload 3
iflt 4
3: iload 2
iload 3
iadd
ifge 5
4: StackMap locals: java.io.CharArrayReader char[] int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield java.io.CharArrayReader.buf:[C
6: aload 0
iload 2
putfield java.io.CharArrayReader.pos:I
7: aload 0
iload 2
iload 3
iadd
aload 1
arraylength
invokestatic java.lang.Math.min:(II)I
putfield java.io.CharArrayReader.count:I
8: aload 0
iload 2
putfield java.io.CharArrayReader.markedPos:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/io/CharArrayReader;
0 10 1 buf [C
0 10 2 offset I
0 10 3 length I
MethodParameters:
Name Flags
buf
offset
length
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.CharArrayReader.buf:[C
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/CharArrayReader;
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: aload 0
getfield java.io.CharArrayReader.pos:I
aload 0
getfield java.io.CharArrayReader.count:I
if_icmplt 5
3: aload 1
monitorexit
4: iconst_m1
ireturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield java.io.CharArrayReader.buf:[C
aload 0
dup
getfield java.io.CharArrayReader.pos:I
dup_x1
iconst_1
iadd
putfield java.io.CharArrayReader.pos:I
caload
aload 1
monitorexit
6: ireturn
7: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
8: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/io/CharArrayReader;
Exception table:
from to target type
1 4 7 any
5 6 7 any
7 8 7 any
Exceptions:
throws java.io.IOException
public int read(char[], int, int);
descriptor: ([CII)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
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: iload 2
iflt 4
iload 2
aload 1
arraylength
if_icmpgt 4
iload 3
iflt 4
3: iload 2
iload 3
iadd
aload 1
arraylength
if_icmpgt 4
iload 2
iload 3
iadd
ifge 5
4: StackMap locals: java.lang.Object
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iload 3
ifne 8
6: aload 4
monitorexit
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield java.io.CharArrayReader.pos:I
aload 0
getfield java.io.CharArrayReader.count:I
if_icmplt 11
9: aload 4
monitorexit
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield java.io.CharArrayReader.pos:I
iload 3
iadd
aload 0
getfield java.io.CharArrayReader.count:I
if_icmple 13
12: aload 0
getfield java.io.CharArrayReader.count:I
aload 0
getfield java.io.CharArrayReader.pos:I
isub
istore 3
13: StackMap locals:
StackMap stack:
iload 3
ifgt 16
14: aload 4
monitorexit
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
aload 0
getfield java.io.CharArrayReader.buf:[C
aload 0
getfield java.io.CharArrayReader.pos:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
17: aload 0
dup
getfield java.io.CharArrayReader.pos:I
iload 3
iadd
putfield java.io.CharArrayReader.pos:I
18: iload 3
aload 4
monitorexit
19: ireturn
20: StackMap locals:
StackMap stack: java.lang.Throwable
aload 4
monitorexit
21: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/io/CharArrayReader;
0 22 1 b [C
0 22 2 off I
0 22 3 len I
Exception table:
from to target type
1 7 20 any
8 10 20 any
11 15 20 any
16 19 20 any
20 21 20 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: aload 0
getfield java.io.CharArrayReader.pos:I
i2l
lload 1
ladd
aload 0
getfield java.io.CharArrayReader.count:I
i2l
lcmp
ifle 4
3: aload 0
getfield java.io.CharArrayReader.count:I
aload 0
getfield java.io.CharArrayReader.pos:I
isub
i2l
lstore 1
4: StackMap locals: java.lang.Object
StackMap stack:
lload 1
lconst_0
lcmp
ifge 7
5: aload 3
monitorexit
6: lconst_0
lreturn
7: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.io.CharArrayReader.pos:I
i2l
lload 1
ladd
l2i
putfield java.io.CharArrayReader.pos:I
8: lload 1
aload 3
monitorexit
9: lreturn
10: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
11: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/io/CharArrayReader;
0 12 1 n J
Exception table:
from to target type
1 6 10 any
7 9 10 any
10 11 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public boolean ready();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: aload 0
getfield java.io.CharArrayReader.count:I
aload 0
getfield java.io.CharArrayReader.pos:I
isub
ifle 3
iconst_1
goto 4
StackMap locals: java.lang.Object
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: aload 1
monitorexit
5: ireturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/io/CharArrayReader;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/io/CharArrayReader;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: aload 0
aload 0
getfield java.io.CharArrayReader.pos:I
putfield java.io.CharArrayReader.markedPos:I
3: aload 2
monitorexit
4: goto 7
StackMap locals: java.io.CharArrayReader int java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/io/CharArrayReader;
0 8 1 readAheadLimit I
Exception table:
from to target type
1 4 5 any
5 6 5 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.io.CharArrayReader.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
invokevirtual java.io.CharArrayReader.ensureOpen:()V
2: aload 0
aload 0
getfield java.io.CharArrayReader.markedPos:I
putfield java.io.CharArrayReader.pos:I
3: aload 1
monitorexit
4: goto 7
StackMap locals: java.io.CharArrayReader java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/io/CharArrayReader;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield java.io.CharArrayReader.buf:[C
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/CharArrayReader;
}
SourceFile: "CharArrayReader.java"