final class com.ctc.wstx.util.TextBuffer$BufferReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.TextBuffer$BufferReader
super_class: java.io.Reader
{
java.util.ArrayList<char[]> _segments;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<[C>;
char[] _currentSegment;
descriptor: [C
flags: (0x0000)
final int _currentLength;
descriptor: I
flags: (0x0010) ACC_FINAL
int _segmentIndex;
descriptor: I
flags: (0x0000)
int _segmentOffset;
descriptor: I
flags: (0x0000)
int _currentOffset;
descriptor: I
flags: (0x0000)
public void <init>(java.util.ArrayList<char[]>, char[], );
descriptor: (Ljava/util/ArrayList;[CI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aload 1
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
2: aload 0
aload 2
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
3: aload 0
iload 3
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentLength:I
4: aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
5: aload 0
aload 0
iconst_0
dup_x1
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/util/TextBuffer$BufferReader;
0 7 1 segs Ljava/util/ArrayList<[C>;
0 7 2 currSeg [C
0 7 3 currSegLen I
Signature: (Ljava/util/ArrayList<[C>;[CI)V
MethodParameters:
Name Flags
segs
currSeg
currSegLen
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 com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
1: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/TextBuffer$BufferReader;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
ldc "mark() not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/TextBuffer$BufferReader;
0 1 1 x I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
x
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 Lcom/ctc/wstx/util/TextBuffer$BufferReader;
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_1
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 2
istore 4
start local 4 3: goto 18
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 5
start local 5 5: aload 5
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
isub
istore 6
start local 6 6: iload 3
iload 6
if_icmpgt 11
7: aload 5
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
iload 3
iadd
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
9: iload 2
iload 3
iadd
istore 2
10: iload 2
iload 4
isub
ireturn
11: StackMap locals: char[] int
StackMap stack:
iload 6
ifle 14
12: aload 5
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
aload 1
iload 2
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: iload 2
iload 6
iadd
istore 2
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
iconst_1
iadd
dup_x1
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 17
15: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
ifnonnull 4
19: iload 3
ifle 33
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
ifnull 33
20: aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentLength:I
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
isub
istore 5
start local 5 21: iload 3
iload 5
if_icmplt 28
22: iload 5
istore 3
23: aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
24: aload 1
iload 2
iload 3
25: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
26: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
27: goto 32
28: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
29: aload 1
iload 2
iload 3
30: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
31: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
iload 3
iadd
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
32: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 5 33: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmpne 34
iconst_m1
goto 35
StackMap locals:
StackMap stack:
34: iload 2
iload 4
isub
StackMap locals:
StackMap stack: int
35: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/ctc/wstx/util/TextBuffer$BufferReader;
0 36 1 cbuf [C
0 36 2 offset I
0 36 3 len I
3 36 4 origOffset I
5 18 5 curr [C
6 18 6 max I
21 33 5 max I
MethodParameters:
Name Flags
cbuf
offset
len
public boolean ready();
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 Lcom/ctc/wstx/util/TextBuffer$BufferReader;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.io.IOException
dup
ldc "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 Lcom/ctc/wstx/util/TextBuffer$BufferReader;
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
lload 1
lstore 3
start local 3 3: goto 14
4: StackMap locals: long
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast char[]
astore 5
start local 5 5: aload 5
arraylength
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
isub
istore 6
start local 6 6: iload 6
i2l
lload 1
lcmp
iflt 9
7: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
lload 1
l2i
iadd
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
8: lload 3
lreturn
9: StackMap locals: char[] int
StackMap stack:
lload 1
iload 6
i2l
lsub
lstore 1
10: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
iconst_1
iadd
dup_x1
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentIndex:I
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 13
11: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.ctc.wstx.util.TextBuffer$BufferReader._segmentOffset:I
end local 6 end local 5 14: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._segments:Ljava/util/ArrayList;
ifnonnull 4
15: lload 1
lconst_0
lcmp
ifle 23
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
ifnull 23
16: aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentLength:I
aload 0
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
isub
istore 5
start local 5 17: lload 1
iload 5
i2l
lcmp
iflt 21
18: lload 1
iload 5
i2l
lsub
lstore 1
19: aload 0
aconst_null
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentSegment:[C
20: goto 23
21: StackMap locals: int
StackMap stack:
lconst_0
lstore 1
22: aload 0
dup
getfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
lload 1
l2i
iadd
putfield com.ctc.wstx.util.TextBuffer$BufferReader._currentOffset:I
end local 5 23: StackMap locals:
StackMap stack:
lload 1
lload 3
lcmp
ifne 24
ldc -1
goto 25
StackMap locals:
StackMap stack:
24: lload 3
lload 1
lsub
StackMap locals:
StackMap stack: long
25: lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/ctc/wstx/util/TextBuffer$BufferReader;
0 26 1 amount J
3 26 3 origAmount J
5 14 5 curr [C
6 14 6 max I
17 23 5 max I
MethodParameters:
Name Flags
amount
}
SourceFile: "TextBuffer.java"
NestHost: com.ctc.wstx.util.TextBuffer
InnerClasses:
private final BufferReader = com.ctc.wstx.util.TextBuffer$BufferReader of com.ctc.wstx.util.TextBuffer