public class com.ctc.wstx.io.ReaderSource extends com.ctc.wstx.io.BaseInputSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.ctc.wstx.io.ReaderSource
super_class: com.ctc.wstx.io.BaseInputSource
{
final com.ctc.wstx.api.ReaderConfig mConfig;
descriptor: Lcom/ctc/wstx/api/ReaderConfig;
flags: (0x0010) ACC_FINAL
protected java.io.Reader mReader;
descriptor: Ljava/io/Reader;
flags: (0x0004) ACC_PROTECTED
final boolean mDoRealClose;
descriptor: Z
flags: (0x0010) ACC_FINAL
int mInputProcessed;
descriptor: I
flags: (0x0000)
int mInputRow;
descriptor: I
flags: (0x0000)
int mInputRowStart;
descriptor: I
flags: (0x0000)
public void <init>(com.ctc.wstx.api.ReaderConfig, com.ctc.wstx.io.WstxInputSource, java.lang.String, java.lang.String, com.ctc.wstx.io.SystemId, java.io.Reader, boolean);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;Ljava/io/Reader;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 2
aload 3
aload 4
aload 5
invokespecial com.ctc.wstx.io.BaseInputSource.<init>:(Lcom/ctc/wstx/io/WstxInputSource;Ljava/lang/String;Ljava/lang/String;Lcom/ctc/wstx/io/SystemId;)V
1: aload 0
iconst_0
putfield com.ctc.wstx.io.ReaderSource.mInputProcessed:I
2: aload 0
iconst_1
putfield com.ctc.wstx.io.ReaderSource.mInputRow:I
3: aload 0
iconst_0
putfield com.ctc.wstx.io.ReaderSource.mInputRowStart:I
4: aload 0
aload 1
putfield com.ctc.wstx.io.ReaderSource.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
5: aload 0
aload 6
putfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
6: aload 0
iload 7
putfield com.ctc.wstx.io.ReaderSource.mDoRealClose:Z
7: aload 1
invokevirtual com.ctc.wstx.api.ReaderConfig.getInputBufferLength:()I
istore 8
start local 8 8: aload 0
aload 1
iload 8
invokevirtual com.ctc.wstx.api.ReaderConfig.allocFullCBuffer:(I)[C
putfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
9: return
end local 8 end local 7 end local 6 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 10 0 this Lcom/ctc/wstx/io/ReaderSource;
0 10 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 10 2 parent Lcom/ctc/wstx/io/WstxInputSource;
0 10 3 fromEntity Ljava/lang/String;
0 10 4 pubId Ljava/lang/String;
0 10 5 sysId Lcom/ctc/wstx/io/SystemId;
0 10 6 r Ljava/io/Reader;
0 10 7 realClose Z
8 10 8 bufSize I
MethodParameters:
Name Flags
cfg
parent
fromEntity
pubId
sysId
r
realClose
public void setInputOffsets(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
putfield com.ctc.wstx.io.ReaderSource.mInputProcessed:I
1: aload 0
iload 2
putfield com.ctc.wstx.io.ReaderSource.mInputRow:I
2: aload 0
iload 3
putfield com.ctc.wstx.io.ReaderSource.mInputRowStart:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/io/ReaderSource;
0 4 1 proc I
0 4 2 row I
0 4 3 rowStart I
MethodParameters:
Name Flags
proc
row
rowStart
protected void doInitInputLocation(com.ctc.wstx.io.WstxInputData);
descriptor: (Lcom/ctc/wstx/io/WstxInputData;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.ctc.wstx.io.ReaderSource.mInputProcessed:I
i2l
putfield com.ctc.wstx.io.WstxInputData.mCurrInputProcessed:J
1: aload 1
aload 0
getfield com.ctc.wstx.io.ReaderSource.mInputRow:I
putfield com.ctc.wstx.io.WstxInputData.mCurrInputRow:I
2: aload 1
aload 0
getfield com.ctc.wstx.io.ReaderSource.mInputRowStart:I
putfield com.ctc.wstx.io.WstxInputData.mCurrInputRowStart:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/io/ReaderSource;
0 4 1 reader Lcom/ctc/wstx/io/WstxInputData;
MethodParameters:
Name Flags
reader
public boolean fromInternalEntity();
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/io/ReaderSource;
public int readInto(com.ctc.wstx.io.WstxInputData);
descriptor: (Lcom/ctc/wstx/io/WstxInputData;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
ifnonnull 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
iconst_0
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
arraylength
invokevirtual java.io.Reader.read:([CII)I
istore 2
start local 2 3: iload 2
iconst_1
if_icmpge 10
4: aload 0
iconst_0
putfield com.ctc.wstx.io.ReaderSource.mInputLast:I
5: aload 1
iconst_0
putfield com.ctc.wstx.io.WstxInputData.mInputPtr:I
6: aload 1
iconst_0
putfield com.ctc.wstx.io.WstxInputData.mInputEnd:I
7: iload 2
ifne 9
8: new com.ctc.wstx.exc.WstxException
dup
new java.lang.StringBuilder
dup
ldc "Reader (of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") returned 0 characters, even when asked to read up to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokevirtual com.ctc.wstx.io.ReaderSource.getLocation:()Lcom/ctc/wstx/io/WstxInputLocation;
invokespecial com.ctc.wstx.exc.WstxException.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;)V
athrow
9: StackMap locals: int
StackMap stack:
iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
putfield com.ctc.wstx.io.WstxInputData.mInputBuffer:[C
11: aload 1
iconst_0
putfield com.ctc.wstx.io.WstxInputData.mInputPtr:I
12: aload 0
iload 2
putfield com.ctc.wstx.io.ReaderSource.mInputLast:I
13: aload 1
iload 2
putfield com.ctc.wstx.io.WstxInputData.mInputEnd:I
14: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/ctc/wstx/io/ReaderSource;
0 15 1 reader Lcom/ctc/wstx/io/WstxInputData;
3 15 2 count I
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
reader
public boolean readMore(com.ctc.wstx.io.WstxInputData, int);
descriptor: (Lcom/ctc/wstx/io/WstxInputData;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
getfield com.ctc.wstx.io.WstxInputData.mInputPtr:I
istore 3
start local 3 3: aload 0
getfield com.ctc.wstx.io.ReaderSource.mInputLast:I
iload 3
isub
istore 4
start local 4 4: aload 1
dup
getfield com.ctc.wstx.io.WstxInputData.mCurrInputProcessed:J
iload 3
i2l
ladd
putfield com.ctc.wstx.io.WstxInputData.mCurrInputProcessed:J
5: aload 1
dup
getfield com.ctc.wstx.io.WstxInputData.mCurrInputRowStart:I
iload 3
isub
putfield com.ctc.wstx.io.WstxInputData.mCurrInputRowStart:I
6: iload 4
ifle 9
7: aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
iload 3
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
iconst_0
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: iload 2
iload 4
isub
istore 2
9: StackMap locals: int int
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
putfield com.ctc.wstx.io.WstxInputData.mInputBuffer:[C
10: aload 1
iconst_0
putfield com.ctc.wstx.io.WstxInputData.mInputPtr:I
11: aload 0
iload 4
putfield com.ctc.wstx.io.ReaderSource.mInputLast:I
12: goto 22
13: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
arraylength
iload 4
isub
istore 5
start local 5 14: aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
iload 4
iload 5
invokevirtual java.io.Reader.read:([CII)I
istore 6
start local 6 15: iload 6
iconst_1
if_icmpge 20
16: iload 6
ifne 18
17: new com.ctc.wstx.exc.WstxException
dup
new java.lang.StringBuilder
dup
ldc "Reader (of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") returned 0 characters, even when asked to read up to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokevirtual com.ctc.wstx.io.ReaderSource.getLocation:()Lcom/ctc/wstx/io/WstxInputLocation;
invokespecial com.ctc.wstx.exc.WstxException.<init>:(Ljava/lang/String;Ljavax/xml/stream/Location;)V
athrow
18: StackMap locals: int int
StackMap stack:
aload 1
aload 0
iload 4
dup_x1
putfield com.ctc.wstx.io.ReaderSource.mInputLast:I
putfield com.ctc.wstx.io.WstxInputData.mInputEnd:I
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
iload 4
iload 6
iadd
istore 4
21: iload 2
iload 6
isub
istore 2
end local 6 end local 5 22: StackMap locals:
StackMap stack:
iload 2
ifgt 13
23: aload 1
aload 0
iload 4
dup_x1
putfield com.ctc.wstx.io.ReaderSource.mInputLast:I
putfield com.ctc.wstx.io.WstxInputData.mInputEnd:I
24: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/ctc/wstx/io/ReaderSource;
0 25 1 reader Lcom/ctc/wstx/io/WstxInputData;
0 25 2 minAmount I
3 25 3 ptr I
4 25 4 currAmount I
14 22 5 amount I
15 22 6 actual I
Exceptions:
throws java.io.IOException, javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
reader
minAmount
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
ifnull 2
1: aload 0
aload 0
getfield com.ctc.wstx.io.ReaderSource.mDoRealClose:Z
invokevirtual com.ctc.wstx.io.ReaderSource.closeAndRecycle:(Z)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/ReaderSource;
Exceptions:
throws java.io.IOException
public void closeCompletely();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
ifnull 2
1: aload 0
iconst_1
invokevirtual com.ctc.wstx.io.ReaderSource.closeAndRecycle:(Z)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/ReaderSource;
Exceptions:
throws java.io.IOException
private void closeAndRecycle(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 0
aconst_null
putfield com.ctc.wstx.io.ReaderSource.mBuffer:[C
3: aload 0
getfield com.ctc.wstx.io.ReaderSource.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
aload 2
invokevirtual com.ctc.wstx.api.ReaderConfig.freeFullCBuffer:([C)V
4: StackMap locals: char[]
StackMap stack:
aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
ifnull 11
5: aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
instanceof com.ctc.wstx.io.BaseReader
ifeq 7
6: aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
checkcast com.ctc.wstx.io.BaseReader
invokevirtual com.ctc.wstx.io.BaseReader.freeBuffers:()V
7: StackMap locals:
StackMap stack:
iload 1
ifeq 11
8: aload 0
getfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
astore 3
start local 3 9: aload 0
aconst_null
putfield com.ctc.wstx.io.ReaderSource.mReader:Ljava/io/Reader;
10: aload 3
invokevirtual java.io.Reader.close:()V
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/io/ReaderSource;
0 12 1 fullClose Z
1 12 2 buf [C
9 11 3 r Ljava/io/Reader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fullClose
}
SourceFile: "ReaderSource.java"