public final class com.ctc.wstx.io.MergedReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.io.MergedReader
super_class: java.io.Reader
{
final com.ctc.wstx.api.ReaderConfig mConfig;
descriptor: Lcom/ctc/wstx/api/ReaderConfig;
flags: (0x0010) ACC_FINAL
final java.io.Reader mIn;
descriptor: Ljava/io/Reader;
flags: (0x0010) ACC_FINAL
char[] mData;
descriptor: [C
flags: (0x0000)
int mPtr;
descriptor: I
flags: (0x0000)
final int mEnd;
descriptor: I
flags: (0x0010) ACC_FINAL
public void <init>(com.ctc.wstx.api.ReaderConfig, java.io.Reader, char[], int, int);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/Reader;[CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.io.Reader.<init>:()V
1: aload 0
aload 1
putfield com.ctc.wstx.io.MergedReader.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
2: aload 0
aload 2
putfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
3: aload 0
aload 3
putfield com.ctc.wstx.io.MergedReader.mData:[C
4: aload 0
iload 4
putfield com.ctc.wstx.io.MergedReader.mPtr:I
5: aload 0
iload 5
putfield com.ctc.wstx.io.MergedReader.mEnd:I
6: aload 3
ifnull 8
iload 4
iload 5
if_icmplt 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Trying to construct MergedReader with empty contents (start "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", end "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: com.ctc.wstx.io.MergedReader com.ctc.wstx.api.ReaderConfig java.io.Reader char[] int int
StackMap stack:
return
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 9 0 this Lcom/ctc/wstx/io/MergedReader;
0 9 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 9 2 in Ljava/io/Reader;
0 9 3 buf [C
0 9 4 start I
0 9 5 end I
MethodParameters:
Name Flags
cfg
in
buf
start
end
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.io.MergedReader.freeMergedBuffer:()V
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
invokevirtual java.io.Reader.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedReader;
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnonnull 2
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
iload 1
invokevirtual java.io.Reader.mark:(I)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedReader;
0 3 1 readlimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnonnull 1
aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
invokevirtual java.io.Reader.markSupported:()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 Lcom/ctc/wstx/io/MergedReader;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnull 5
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
aload 0
dup
getfield com.ctc.wstx.io.MergedReader.mPtr:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.io.MergedReader.mPtr:I
caload
sipush 255
iand
istore 1
start local 1 2: aload 0
getfield com.ctc.wstx.io.MergedReader.mPtr:I
aload 0
getfield com.ctc.wstx.io.MergedReader.mEnd:I
if_icmplt 4
3: aload 0
invokevirtual com.ctc.wstx.io.MergedReader.freeMergedBuffer:()V
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
invokevirtual java.io.Reader.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/io/MergedReader;
2 5 1 c I
Exceptions:
throws java.io.IOException
public int read(char[]);
descriptor: ([C)I
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 com.ctc.wstx.io.MergedReader.read:([CII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/io/MergedReader;
0 1 1 cbuf [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
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 com.ctc.wstx.io.MergedReader.mData:[C
ifnull 9
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mEnd:I
aload 0
getfield com.ctc.wstx.io.MergedReader.mPtr:I
isub
istore 4
start local 4 2: iload 3
iload 4
if_icmple 4
3: iload 4
istore 3
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
aload 0
getfield com.ctc.wstx.io.MergedReader.mPtr:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
dup
getfield com.ctc.wstx.io.MergedReader.mPtr:I
iload 3
iadd
putfield com.ctc.wstx.io.MergedReader.mPtr:I
6: aload 0
getfield com.ctc.wstx.io.MergedReader.mPtr:I
aload 0
getfield com.ctc.wstx.io.MergedReader.mEnd:I
if_icmplt 8
7: aload 0
invokevirtual com.ctc.wstx.io.MergedReader.freeMergedBuffer:()V
8: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
aload 1
iload 2
iload 3
invokevirtual java.io.Reader.read:([CII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/io/MergedReader;
0 10 1 cbuf [C
0 10 2 off I
0 10 3 len I
2 9 4 avail I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public boolean ready();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnonnull 1
aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
invokevirtual java.io.Reader.ready:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/io/MergedReader;
Exceptions:
throws java.io.IOException
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnonnull 2
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
invokevirtual java.io.Reader.reset:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedReader;
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnull 9
2: aload 0
getfield com.ctc.wstx.io.MergedReader.mEnd:I
aload 0
getfield com.ctc.wstx.io.MergedReader.mPtr:I
isub
istore 5
start local 5 3: iload 5
i2l
lload 1
lcmp
ifle 6
4: aload 0
dup
getfield com.ctc.wstx.io.MergedReader.mPtr:I
lload 1
l2i
iadd
putfield com.ctc.wstx.io.MergedReader.mPtr:I
5: iload 5
i2l
lreturn
6: StackMap locals: long int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.MergedReader.freeMergedBuffer:()V
7: lload 3
iload 5
i2l
ladd
lstore 3
8: lload 1
iload 5
i2l
lsub
lstore 1
end local 5 9: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 11
10: lload 3
aload 0
getfield com.ctc.wstx.io.MergedReader.mIn:Ljava/io/Reader;
lload 1
invokevirtual java.io.Reader.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 Lcom/ctc/wstx/io/MergedReader;
0 12 1 n J
1 12 3 count J
3 9 5 amount I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
private void freeMergedBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
ifnull 5
1: aload 0
getfield com.ctc.wstx.io.MergedReader.mData:[C
astore 1
start local 1 2: aload 0
aconst_null
putfield com.ctc.wstx.io.MergedReader.mData:[C
3: aload 0
getfield com.ctc.wstx.io.MergedReader.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
ifnull 5
4: aload 0
getfield com.ctc.wstx.io.MergedReader.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
aload 1
invokevirtual com.ctc.wstx.api.ReaderConfig.freeSmallCBuffer:([C)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/io/MergedReader;
2 5 1 data [C
}
SourceFile: "MergedReader.java"