public class com.sun.org.apache.xerces.internal.impl.io.UCSReader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.impl.io.UCSReader
super_class: java.io.Reader
{
public static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public static final short UCS2LE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final short UCS2BE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final short UCS4LE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final short UCS4BE;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
protected java.io.InputStream fInputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
protected byte[] fBuffer;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected short fEncoding;
descriptor: S
flags: (0x0004) ACC_PROTECTED
public void <init>(java.io.InputStream, short);
descriptor: (Ljava/io/InputStream;S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
sipush 8192
iload 2
invokespecial com.sun.org.apache.xerces.internal.impl.io.UCSReader.<init>:(Ljava/io/InputStream;IS)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
0 2 1 inputStream Ljava/io/InputStream;
0 2 2 encoding S
MethodParameters:
Name Flags
inputStream
encoding
public void <init>(java.io.InputStream, int, short);
descriptor: (Ljava/io/InputStream;IS)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
2: invokestatic com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator.getBufferAllocator:()Lcom/sun/xml/internal/stream/util/BufferAllocator;
astore 4
start local 4 3: aload 0
aload 4
iload 2
invokevirtual com.sun.xml.internal.stream.util.BufferAllocator.getByteBuffer:(I)[B
putfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
4: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
ifnonnull 6
5: aload 0
iload 2
newarray 8
putfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
6: StackMap locals: com.sun.org.apache.xerces.internal.impl.io.UCSReader java.io.InputStream int int com.sun.xml.internal.stream.util.BufferAllocator
StackMap stack:
aload 0
iload 3
putfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
0 8 1 inputStream Ljava/io/InputStream;
0 8 2 size I
0 8 3 encoding S
3 8 4 ba Lcom/sun/xml/internal/stream/util/BufferAllocator;
MethodParameters:
Name Flags
inputStream
size
encoding
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
sipush 255
iand
istore 1
start local 1 1: iload 1
sipush 255
if_icmpne 3
2: iconst_m1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
sipush 255
iand
istore 2
start local 2 4: iload 2
sipush 255
if_icmpne 6
5: iconst_m1
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 17
7: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
sipush 255
iand
istore 3
start local 3 8: iload 3
sipush 255
if_icmpne 10
9: iconst_m1
ireturn
10: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
sipush 255
iand
istore 4
start local 4 11: iload 4
sipush 255
if_icmpne 13
12: iconst_m1
ireturn
13: StackMap locals: int
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "b0 is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " b1 "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " b2 "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " b3 "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
sipush 255
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
bipush 8
if_icmpne 16
15: iload 1
bipush 24
ishl
iload 2
bipush 16
ishl
iadd
iload 3
bipush 8
ishl
iadd
iload 4
iadd
ireturn
16: StackMap locals:
StackMap stack:
iload 4
bipush 24
ishl
iload 3
bipush 16
ishl
iadd
iload 2
bipush 8
ishl
iadd
iload 1
iadd
ireturn
end local 4 end local 3 17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_2
if_icmpne 19
18: iload 1
bipush 8
ishl
iload 2
iadd
ireturn
19: StackMap locals:
StackMap stack:
iload 2
bipush 8
ishl
iload 1
iadd
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
1 20 1 b0 I
4 20 2 b1 I
8 17 3 b2 I
11 17 4 b3 I
Exceptions:
throws java.io.IOException
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 1
iconst_2
goto 2
StackMap locals:
StackMap stack: int
1: iconst_1
StackMap locals: com.sun.org.apache.xerces.internal.impl.io.UCSReader char[] int int
StackMap stack: int int
2: ishl
istore 4
start local 4 3: iload 4
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
arraylength
if_icmple 5
4: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
arraylength
istore 4
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iconst_0
iload 4
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 6: iload 5
iconst_m1
if_icmpne 7
iconst_m1
ireturn
7: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 24
8: iconst_4
iload 5
iconst_3
iand
isub
iconst_3
iand
istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 21
11: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 8
start local 8 12: iload 8
iconst_m1
if_icmpne 19
13: iload 7
istore 9
start local 9 14: goto 17
15: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 5
iload 9
iadd
iconst_0
bastore
16: iinc 9 1
StackMap locals:
StackMap stack:
17: iload 9
iload 6
if_icmplt 15
end local 9 18: goto 22
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 5
iload 7
iadd
iload 8
i2b
bastore
end local 8 20: iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iload 6
if_icmplt 11
end local 7 22: StackMap locals:
StackMap stack:
iload 5
iload 6
iadd
istore 5
end local 6 23: goto 32
24: StackMap locals:
StackMap stack:
iload 5
iconst_1
iand
istore 6
start local 6 25: iload 6
ifeq 32
26: iinc 5 1
27: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 7
start local 7 28: iload 7
iconst_m1
if_icmpne 31
29: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 5
iconst_0
bastore
30: goto 32
31: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 5
iload 7
i2b
bastore
end local 7 end local 6 32: StackMap locals:
StackMap stack:
iload 5
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 33
iconst_2
goto 34
StackMap locals:
StackMap stack: int
33: iconst_1
StackMap locals: com.sun.org.apache.xerces.internal.impl.io.UCSReader char[] int int int int
StackMap stack: int int
34: ishr
istore 6
start local 6 35: iconst_0
istore 7
start local 7 36: iconst_0
istore 8
start local 8 37: goto 51
38: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 7
iinc 7 1
baload
sipush 255
iand
istore 9
start local 9 39: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 7
iinc 7 1
baload
sipush 255
iand
istore 10
start local 10 40: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 47
41: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 7
iinc 7 1
baload
sipush 255
iand
istore 11
start local 11 42: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
iload 7
iinc 7 1
baload
sipush 255
iand
istore 12
start local 12 43: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
bipush 8
if_icmpne 45
44: aload 1
iload 2
iload 8
iadd
iload 9
bipush 24
ishl
iload 10
bipush 16
ishl
iadd
iload 11
bipush 8
ishl
iadd
iload 12
iadd
i2c
castore
goto 50
45: StackMap locals: com.sun.org.apache.xerces.internal.impl.io.UCSReader char[] int int int int int int int int int int int
StackMap stack:
aload 1
iload 2
iload 8
iadd
iload 12
bipush 24
ishl
iload 11
bipush 16
ishl
iadd
iload 10
bipush 8
ishl
iadd
iload 9
iadd
i2c
castore
end local 12 end local 11 46: goto 50
47: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_2
if_icmpne 49
48: aload 1
iload 2
iload 8
iadd
iload 9
bipush 8
ishl
iload 10
iadd
i2c
castore
goto 50
49: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 8
iadd
iload 10
bipush 8
ishl
iload 9
iadd
i2c
castore
end local 10 end local 9 50: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
51: iload 8
iload 6
if_icmplt 38
end local 8 52: iload 6
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 53 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
0 53 1 ch [C
0 53 2 offset I
0 53 3 length I
3 53 4 byteLength I
6 53 5 count I
9 23 6 numToRead I
10 22 7 i I
12 20 8 charRead I
14 18 9 j I
25 32 6 numToRead I
28 32 7 charRead I
35 53 6 numChars I
36 53 7 curPos I
37 52 8 i I
39 50 9 b0 I
40 50 10 b1 I
42 46 11 b2 I
43 46 12 b3 I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ch
offset
length
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fEncoding:S
iconst_4
if_icmplt 1
iconst_2
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
lload 1
iload 3
lshl
invokevirtual java.io.InputStream.skip:(J)J
lstore 4
start local 4 4: lload 4
iload 3
iconst_1
ior
i2l
land
lconst_0
lcmp
ifne 5
lload 4
iload 3
lshr
lreturn
5: StackMap locals: int long
StackMap stack:
lload 4
iload 3
lshr
lconst_1
ladd
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
0 6 1 n J
3 6 3 charWidth I
4 6 4 bytesSkipped J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
public boolean ready();
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/sun/org/apache/xerces/internal/impl/io/UCSReader;
Exceptions:
throws java.io.IOException
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.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
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.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
0 2 1 readAheadLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
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.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator.getBufferAllocator:()Lcom/sun/xml/internal/stream/util/BufferAllocator;
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
invokevirtual com.sun.xml.internal.stream.util.BufferAllocator.returnByteBuffer:([B)V
2: aload 0
aconst_null
putfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fBuffer:[B
3: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UCSReader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UCSReader;
1 5 1 ba Lcom/sun/xml/internal/stream/util/BufferAllocator;
Exceptions:
throws java.io.IOException
}
SourceFile: "UCSReader.java"