public final class com.ctc.wstx.io.UTF32Reader extends com.ctc.wstx.io.BaseReader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.io.UTF32Reader
super_class: com.ctc.wstx.io.BaseReader
{
final boolean mBigEndian;
descriptor: Z
flags: (0x0010) ACC_FINAL
boolean mXml11;
descriptor: Z
flags: (0x0000)
char mSurrogate;
descriptor: C
flags: (0x0000)
int mCharCount;
descriptor: I
flags: (0x0000)
int mByteCount;
descriptor: I
flags: (0x0000)
public void <init>(com.ctc.wstx.api.ReaderConfig, java.io.InputStream, byte[], int, int, boolean, boolean);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, 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 1
aload 2
aload 3
iload 4
iload 5
iload 6
invokespecial com.ctc.wstx.io.BaseReader.<init>:(Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
1: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF32Reader.mSurrogate:C
2: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF32Reader.mCharCount:I
3: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF32Reader.mByteCount:I
4: aload 0
iload 7
putfield com.ctc.wstx.io.UTF32Reader.mBigEndian:Z
5: return
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 6 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 6 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 6 2 in Ljava/io/InputStream;
0 6 3 buf [B
0 6 4 ptr I
0 6 5 len I
0 6 6 recycleBuffer Z
0 6 7 isBigEndian Z
MethodParameters:
Name Flags
cfg
in
buf
ptr
len
recycleBuffer
isBigEndian
public void setXmlCompliancy(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
sipush 272
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.ctc.wstx.io.UTF32Reader
1: iconst_0
StackMap locals: com.ctc.wstx.io.UTF32Reader int
StackMap stack: com.ctc.wstx.io.UTF32Reader int
2: putfield com.ctc.wstx.io.UTF32Reader.mXml11:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 4 1 xmlVersion I
MethodParameters:
Name Flags
xmlVersion
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iflt 1
iload 2
iload 3
iadd
aload 1
arraylength
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.ctc.wstx.io.UTF32Reader.reportBounds:([CII)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBuffer:[B
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpge 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 3
iload 2
iadd
istore 3
7: iload 2
istore 4
start local 4 8: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mSurrogate:C
ifeq 12
9: aload 1
iload 4
iinc 4 1
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mSurrogate:C
castore
10: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF32Reader.mSurrogate:C
11: goto 16
12: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
isub
istore 5
start local 5 13: iload 5
iconst_4
if_icmpge 16
14: aload 0
iload 5
invokevirtual com.ctc.wstx.io.UTF32Reader.loadMore:(I)Z
ifne 16
15: iconst_m1
ireturn
end local 5 16: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBuffer:[B
astore 5
start local 5 17: goto 62
18: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
istore 6
start local 6 19: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBigEndian:Z
ifeq 26
20: aload 5
iload 6
baload
bipush 24
ishl
aload 5
iload 6
iconst_1
iadd
baload
sipush 255
iand
bipush 16
ishl
ior
21: aload 5
iload 6
iconst_2
iadd
baload
sipush 255
iand
bipush 8
ishl
22: ior
23: aload 5
iload 6
iconst_3
iadd
baload
sipush 255
iand
24: ior
istore 7
start local 7 25: goto 31
end local 7 26: StackMap locals: int
StackMap stack:
aload 5
iload 6
baload
sipush 255
iand
aload 5
iload 6
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
27: aload 5
iload 6
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
28: ior
29: aload 5
iload 6
iconst_3
iadd
baload
bipush 24
ishl
30: ior
istore 7
start local 7 31: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
iconst_4
iadd
putfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
32: iload 7
bipush 127
if_icmplt 59
33: iload 7
sipush 159
if_icmpgt 39
34: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mXml11:Z
ifeq 59
35: iload 7
sipush 133
if_icmpeq 37
36: aload 0
iload 7
iload 4
iload 2
isub
ldc "(can only be included via entity in xml 1.1)"
invokevirtual com.ctc.wstx.io.UTF32Reader.reportInvalid:(IILjava/lang/String;)V
37: StackMap locals:
StackMap stack:
bipush 10
istore 7
38: goto 59
StackMap locals:
StackMap stack:
39: iload 7
ldc 55296
if_icmplt 57
40: iload 7
ldc 1114111
if_icmple 44
41: aload 0
iload 7
iload 4
iload 2
isub
42: new java.lang.StringBuilder
dup
ldc "(above "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc 1114111
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
43: invokevirtual com.ctc.wstx.io.UTF32Reader.reportInvalid:(IILjava/lang/String;)V
44: StackMap locals:
StackMap stack:
iload 7
ldc 65535
if_icmple 51
45: iload 7
ldc 65536
isub
istore 7
46: aload 1
iload 4
iinc 4 1
ldc 55296
iload 7
bipush 10
ishr
iadd
i2c
castore
47: ldc 56320
iload 7
sipush 1023
iand
ior
istore 7
48: iload 4
iload 3
if_icmplt 59
49: aload 0
iload 7
i2c
putfield com.ctc.wstx.io.UTF32Reader.mSurrogate:C
50: goto 63
51: StackMap locals:
StackMap stack:
iload 7
ldc 57344
if_icmpge 54
52: aload 0
iload 7
iload 4
iload 2
isub
ldc "(a surrogate char) "
invokevirtual com.ctc.wstx.io.UTF32Reader.reportInvalid:(IILjava/lang/String;)V
53: goto 59
StackMap locals:
StackMap stack:
54: iload 7
ldc 65534
if_icmplt 59
55: aload 0
iload 7
iload 4
iload 2
isub
ldc ""
invokevirtual com.ctc.wstx.io.UTF32Reader.reportInvalid:(IILjava/lang/String;)V
56: goto 59
StackMap locals:
StackMap stack:
57: iload 7
sipush 8232
if_icmpne 59
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mXml11:Z
ifeq 59
58: bipush 10
istore 7
59: StackMap locals:
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 7
i2c
castore
60: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
if_icmplt 62
61: goto 63
end local 7 end local 6 62: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 18
63: StackMap locals:
StackMap stack:
iload 4
iload 2
isub
istore 3
64: aload 0
dup
getfield com.ctc.wstx.io.UTF32Reader.mCharCount:I
iload 3
iadd
putfield com.ctc.wstx.io.UTF32Reader.mCharCount:I
65: iload 3
ireturn
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 66 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 66 1 cbuf [C
0 66 2 start I
0 66 3 len I
8 66 4 outPtr I
13 16 5 left I
17 66 5 buf [B
19 62 6 ptr I
25 26 7 ch I
31 62 7 ch I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
start
len
private void reportUnexpectedEOF(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteCount:I
iload 1
iadd
istore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mCharCount:I
istore 4
start local 4 2: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected EOF in the middle of a 4-byte UTF-32 char: got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", needed "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc ", at char #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", byte #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
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;
5: invokespecial java.io.CharConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 6 1 gotBytes I
0 6 2 needed I
1 6 3 bytePos I
2 6 4 charPos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
gotBytes
needed
private void reportInvalid(int, int, java.lang.String);
descriptor: (IILjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
iadd
iconst_1
isub
istore 4
start local 4 1: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mCharCount:I
iload 2
iadd
istore 5
start local 5 2: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid UTF-32 character 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: iload 1
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " at char #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", byte #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
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;
5: invokespecial java.io.CharConversionException.<init>:(Ljava/lang/String;)V
athrow
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 6 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 6 1 value I
0 6 2 offset I
0 6 3 msg Ljava/lang/String;
1 6 4 bytePos I
2 6 5 charPos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
offset
msg
private boolean loadMore(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.ctc.wstx.io.UTF32Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
iload 1
isub
iadd
putfield com.ctc.wstx.io.UTF32Reader.mByteCount:I
1: iload 1
ifle 11
2: aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
ifle 24
aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.canModifyBuffer:()Z
ifeq 24
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBuffer:[B
iload 2
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBuffer:[B
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
iload 2
iadd
baload
bastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 5
end local 2 8: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF32Reader.mBytePtr:I
9: aload 0
iload 1
putfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
10: goto 24
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.readBytes:()I
istore 2
start local 2 12: iload 2
iconst_1
if_icmpge 24
13: iload 2
ifge 16
14: aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.freeBuffers:()V
15: iconst_0
ireturn
16: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.reportStrangeStream:()V
end local 2 17: goto 24
18: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
invokevirtual com.ctc.wstx.io.UTF32Reader.readBytesAt:(I)I
istore 2
start local 2 19: iload 2
iconst_1
if_icmpge 24
20: iload 2
ifge 23
21: aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.freeBuffers:()V
22: aload 0
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
iconst_4
invokevirtual com.ctc.wstx.io.UTF32Reader.reportUnexpectedEOF:(II)V
23: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF32Reader.reportStrangeStream:()V
end local 2 24: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF32Reader.mByteBufferEnd:I
iconst_4
if_icmplt 18
25: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/ctc/wstx/io/UTF32Reader;
0 26 1 available I
4 8 2 i I
12 17 2 count I
19 24 2 count I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
available
public void close();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.ctc.wstx.io.BaseReader.close:()V
return
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public int read();
descriptor: ()I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.ctc.wstx.io.BaseReader.read:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "UTF32Reader.java"