public final class com.ctc.wstx.io.UTF8Reader 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.UTF8Reader
super_class: com.ctc.wstx.io.BaseReader
{
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);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 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.UTF8Reader.mXml11:Z
2: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF8Reader.mSurrogate:C
3: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
4: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
5: return
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/UTF8Reader;
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
MethodParameters:
Name Flags
cfg
in
buf
ptr
len
recycleBuffer
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.UTF8Reader
1: iconst_0
StackMap locals: com.ctc.wstx.io.UTF8Reader int
StackMap stack: com.ctc.wstx.io.UTF8Reader int
2: putfield com.ctc.wstx.io.UTF8Reader.mXml11:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/io/UTF8Reader;
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=14, 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.UTF8Reader.reportBounds:([CII)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.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.UTF8Reader.mSurrogate:C
ifeq 12
9: aload 1
iload 4
iinc 4 1
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mSurrogate:C
castore
10: aload 0
iconst_0
putfield com.ctc.wstx.io.UTF8Reader.mSurrogate:C
11: goto 17
12: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
isub
istore 5
start local 5 13: iload 5
iconst_4
if_icmpge 17
14: iload 5
iconst_1
if_icmplt 15
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBuffer:[B
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
baload
ifge 17
15: StackMap locals: int
StackMap stack:
aload 0
iload 5
invokevirtual com.ctc.wstx.io.UTF8Reader.loadMore:(I)Z
ifne 17
16: iconst_m1
ireturn
end local 5 17: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBuffer:[B
astore 5
start local 5 18: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
istore 6
start local 6 19: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
istore 7
start local 7 20: goto 113
21: StackMap locals: byte[] int int
StackMap stack:
aload 5
iload 6
iinc 6 1
baload
istore 8
start local 8 22: iload 8
iflt 48
23: iload 8
bipush 127
if_icmpne 27
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mXml11:Z
ifeq 27
24: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
iload 6
iadd
iconst_1
isub
istore 9
start local 9 25: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 4
iload 2
isub
iadd
istore 10
start local 10 26: aload 0
iload 8
iload 9
iload 10
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidXml11:(III)V
end local 10 end local 9 27: StackMap locals: int
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 8
i2c
castore
28: iload 3
iload 4
isub
istore 9
start local 9 29: iload 7
iload 6
isub
istore 10
start local 10 30: iload 6
iload 10
iload 9
if_icmpge 31
iload 10
goto 32
StackMap locals: com.ctc.wstx.io.UTF8Reader char[] int int int byte[] int int int int int
StackMap stack: int
31: iload 9
StackMap locals: com.ctc.wstx.io.UTF8Reader char[] int int int byte[] int int int int int
StackMap stack: int int
32: iadd
istore 11
start local 11 33: StackMap locals: int
StackMap stack:
iload 6
iload 11
if_icmplt 35
34: goto 114
35: StackMap locals:
StackMap stack:
aload 5
iload 6
iinc 6 1
baload
sipush 255
iand
istore 8
36: iload 8
bipush 127
if_icmplt 38
37: goto 40
38: StackMap locals:
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 8
i2c
castore
39: goto 33
40: StackMap locals:
StackMap stack:
iload 8
bipush 127
if_icmpne 48
41: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mXml11:Z
ifeq 45
42: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
iload 6
iadd
iconst_1
isub
istore 12
start local 12 43: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 4
iload 2
isub
iadd
istore 13
start local 13 44: aload 0
iload 8
iload 12
iload 13
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidXml11:(III)V
end local 13 end local 12 45: StackMap locals:
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 8
i2c
castore
46: iload 6
iload 11
if_icmplt 113
47: goto 114
end local 11 end local 10 end local 9 48: StackMap locals:
StackMap stack:
iload 8
sipush 224
iand
sipush 192
if_icmpne 52
49: iload 8
bipush 31
iand
istore 8
50: iconst_1
istore 9
start local 9 51: goto 62
end local 9 StackMap locals:
StackMap stack:
52: iload 8
sipush 240
iand
sipush 224
if_icmpne 56
53: iload 8
bipush 15
iand
istore 8
54: iconst_2
istore 9
start local 9 55: goto 62
end local 9 StackMap locals:
StackMap stack:
56: iload 8
sipush 248
iand
sipush 240
if_icmpne 60
57: iload 8
bipush 15
iand
istore 8
58: iconst_3
istore 9
start local 9 59: goto 62
end local 9 60: StackMap locals:
StackMap stack:
aload 0
iload 8
sipush 255
iand
iload 4
iload 2
isub
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidInitial:(II)V
61: iconst_1
istore 9
start local 9 62: StackMap locals: int
StackMap stack:
iload 7
iload 6
isub
iload 9
if_icmpge 65
63: iinc 6 -1
64: goto 114
65: StackMap locals:
StackMap stack:
aload 5
iload 6
iinc 6 1
baload
istore 10
start local 10 66: iload 10
sipush 192
iand
sipush 128
if_icmpeq 68
67: aload 0
iload 10
sipush 255
iand
iload 4
iload 2
isub
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidOther:(II)V
68: StackMap locals: int
StackMap stack:
iload 8
bipush 6
ishl
iload 10
bipush 63
iand
ior
istore 8
69: iload 9
iconst_1
if_icmple 101
70: aload 5
iload 6
iinc 6 1
baload
istore 10
71: iload 10
sipush 192
iand
sipush 128
if_icmpeq 73
72: aload 0
iload 10
sipush 255
iand
iload 4
iload 2
isub
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidOther:(II)V
73: StackMap locals:
StackMap stack:
iload 8
bipush 6
ishl
iload 10
bipush 63
iand
ior
istore 8
74: iload 9
iconst_2
if_icmple 89
75: aload 5
iload 6
iinc 6 1
baload
istore 10
76: iload 10
sipush 192
iand
sipush 128
if_icmpeq 78
77: aload 0
iload 10
sipush 255
iand
iload 4
iload 2
isub
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidOther:(II)V
78: StackMap locals:
StackMap stack:
iload 8
bipush 6
ishl
iload 10
bipush 63
iand
ior
istore 8
79: iload 8
ldc 1114111
if_icmple 83
80: aload 0
iload 8
iload 4
iload 2
isub
81: 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;
82: invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalid:(IILjava/lang/String;)V
83: StackMap locals:
StackMap stack:
iload 8
ldc 65536
isub
istore 8
84: aload 1
iload 4
iinc 4 1
ldc 55296
iload 8
bipush 10
ishr
iadd
i2c
castore
85: ldc 56320
iload 8
sipush 1023
iand
ior
istore 8
86: iload 4
iload 3
if_icmplt 110
87: aload 0
iload 8
i2c
putfield com.ctc.wstx.io.UTF8Reader.mSurrogate:C
88: goto 114
89: StackMap locals:
StackMap stack:
iload 8
ldc 55296
if_icmplt 96
90: iload 8
ldc 57344
if_icmpge 93
91: aload 0
iload 8
iload 4
iload 2
isub
ldc "(a surrogate character) "
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalid:(IILjava/lang/String;)V
92: goto 110
StackMap locals:
StackMap stack:
93: iload 8
ldc 65534
if_icmplt 110
94: aload 0
iload 8
iload 4
iload 2
isub
ldc ""
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalid:(IILjava/lang/String;)V
95: goto 110
StackMap locals:
StackMap stack:
96: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mXml11:Z
ifeq 110
iload 8
sipush 8232
if_icmpne 110
97: iload 4
iload 2
if_icmple 99
aload 1
iload 4
iconst_1
isub
caload
bipush 13
if_icmpne 99
98: aload 1
iload 4
iconst_1
isub
bipush 10
castore
99: StackMap locals:
StackMap stack:
bipush 10
istore 8
100: goto 110
101: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mXml11:Z
ifeq 110
102: iload 8
sipush 159
if_icmpgt 110
103: iload 8
sipush 133
if_icmpne 106
104: bipush 10
istore 8
105: goto 110
StackMap locals:
StackMap stack:
106: iload 8
bipush 127
if_icmplt 110
107: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
iload 6
iadd
iconst_1
isub
istore 11
start local 11 108: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 4
iload 2
isub
iadd
istore 12
start local 12 109: aload 0
iload 8
iload 11
iload 12
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidXml11:(III)V
end local 12 end local 11 110: StackMap locals:
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 8
i2c
castore
111: iload 6
iload 7
if_icmplt 113
112: goto 114
end local 10 end local 9 end local 8 113: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 21
114: StackMap locals:
StackMap stack:
aload 0
iload 6
putfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
115: iload 4
iload 2
isub
istore 3
116: aload 0
dup
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 3
iadd
putfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
117: iload 3
ireturn
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 118 0 this Lcom/ctc/wstx/io/UTF8Reader;
0 118 1 cbuf [C
0 118 2 start I
0 118 3 len I
8 118 4 outPtr I
13 17 5 left I
18 118 5 buf [B
19 118 6 inPtr I
20 118 7 inBufLen I
22 113 8 c I
25 27 9 bytePos I
26 27 10 charPos I
29 48 9 outMax I
30 48 10 inMax I
33 48 11 inEnd I
43 45 12 bytePos I
44 45 13 charPos I
51 52 9 needed I
55 56 9 needed I
59 60 9 needed I
62 113 9 needed I
66 113 10 d I
108 110 11 bytePos I
109 110 12 charPos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
start
len
private void reportInvalidInitial(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.UTF8Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
iadd
iconst_1
isub
istore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 2
iadd
iconst_1
iadd
istore 4
start local 4 2: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid UTF-8 start byte 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: 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/UTF8Reader;
0 6 1 mask I
0 6 2 offset I
1 6 3 bytePos I
2 6 4 charPos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mask
offset
private void reportInvalidOther(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.UTF8Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
iadd
iconst_1
isub
istore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 2
iadd
istore 4
start local 4 2: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid UTF-8 middle byte 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: 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/UTF8Reader;
0 6 1 mask I
0 6 2 offset I
1 6 3 bytePos I
2 6 4 charPos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mask
offset
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.UTF8Reader.mByteCount:I
iload 1
iadd
istore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.UTF8Reader.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 multi-byte 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/UTF8Reader;
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.UTF8Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
iadd
iconst_1
isub
istore 4
start local 4 1: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mCharCount:I
iload 2
iadd
istore 5
start local 5 2: new java.io.CharConversionException
dup
new java.lang.StringBuilder
dup
ldc "Invalid UTF-8 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;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: 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/UTF8Reader;
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=5, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
iload 1
isub
iadd
putfield com.ctc.wstx.io.UTF8Reader.mByteCount:I
1: iload 1
ifle 11
2: aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
ifle 17
aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.canModifyBuffer:()Z
ifeq 17
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBuffer:[B
iload 2
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBuffer:[B
aload 0
getfield com.ctc.wstx.io.UTF8Reader.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.UTF8Reader.mBytePtr:I
9: aload 0
iload 1
putfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.readBytes:()I
istore 2
start local 2 12: iload 2
iconst_1
if_icmpge 17
13: iload 2
ifge 16
14: aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.freeBuffers:()V
15: iconst_0
ireturn
16: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.reportStrangeStream:()V
end local 2 17: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBuffer:[B
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
baload
istore 2
start local 2 18: iload 2
iflt 20
19: iconst_1
ireturn
20: StackMap locals: int
StackMap stack:
iload 2
sipush 224
iand
sipush 192
if_icmpne 23
21: iconst_2
istore 3
start local 3 22: goto 38
end local 3 StackMap locals:
StackMap stack:
23: iload 2
sipush 240
iand
sipush 224
if_icmpne 26
24: iconst_3
istore 3
start local 3 25: goto 38
end local 3 StackMap locals:
StackMap stack:
26: iload 2
sipush 248
iand
sipush 240
if_icmpne 29
27: iconst_4
istore 3
start local 3 28: goto 38
end local 3 29: StackMap locals:
StackMap stack:
aload 0
iload 2
sipush 255
iand
iconst_0
invokevirtual com.ctc.wstx.io.UTF8Reader.reportInvalidInitial:(II)V
30: iconst_1
istore 3
start local 3 31: goto 38
32: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
invokevirtual com.ctc.wstx.io.UTF8Reader.readBytesAt:(I)I
istore 4
start local 4 33: iload 4
iconst_1
if_icmpge 38
34: iload 4
ifge 37
35: aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.freeBuffers:()V
36: aload 0
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
iload 3
invokevirtual com.ctc.wstx.io.UTF8Reader.reportUnexpectedEOF:(II)V
37: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.UTF8Reader.reportStrangeStream:()V
end local 4 38: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mBytePtr:I
iload 3
iadd
aload 0
getfield com.ctc.wstx.io.UTF8Reader.mByteBufferEnd:I
if_icmpgt 32
39: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/ctc/wstx/io/UTF8Reader;
0 40 1 available I
4 8 2 i I
12 17 2 count I
18 40 2 c I
22 23 3 needed I
25 26 3 needed I
28 29 3 needed I
31 40 3 needed I
33 38 4 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: "UTF8Reader.java"