public final class com.sun.org.apache.xerces.internal.impl.io.UTF16Reader extends java.io.Reader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.impl.io.UTF16Reader
super_class: java.io.Reader
{
public static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
protected final java.io.InputStream fInputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final byte[] fBuffer;
descriptor: [B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean fIsBigEndian;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final com.sun.org.apache.xerces.internal.util.MessageFormatter fFormatter;
descriptor: Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Locale fLocale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.InputStream, boolean);
descriptor: (Ljava/io/InputStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
sipush 4096
iload 2
1: new com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter
dup
invokespecial com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.<init>:()V
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokespecial com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.<init>:(Ljava/io/InputStream;IZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 3 1 inputStream Ljava/io/InputStream;
0 3 2 isBigEndian Z
MethodParameters:
Name Flags
inputStream
isBigEndian
public void <init>(java.io.InputStream, boolean, com.sun.org.apache.xerces.internal.util.MessageFormatter, java.util.Locale);
descriptor: (Ljava/io/InputStream;ZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
sipush 4096
iload 2
aload 3
aload 4
invokespecial com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.<init>:(Ljava/io/InputStream;IZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
1: return
end local 4 end local 3 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/UTF16Reader;
0 2 1 inputStream Ljava/io/InputStream;
0 2 2 isBigEndian Z
0 2 3 messageFormatter Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
0 2 4 locale Ljava/util/Locale;
MethodParameters:
Name Flags
inputStream
isBigEndian
messageFormatter
locale
public void <init>(java.io.InputStream, int, boolean, com.sun.org.apache.xerces.internal.util.MessageFormatter, java.util.Locale);
descriptor: (Ljava/io/InputStream;IZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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
aload 1
iload 2
newarray 8
iload 3
aload 4
aload 5
invokespecial com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.<init>:(Ljava/io/InputStream;[BZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
1: 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 2 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 2 1 inputStream Ljava/io/InputStream;
0 2 2 size I
0 2 3 isBigEndian Z
0 2 4 messageFormatter Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
0 2 5 locale Ljava/util/Locale;
MethodParameters:
Name Flags
inputStream
size
isBigEndian
messageFormatter
locale
public void <init>(java.io.InputStream, byte[], boolean, com.sun.org.apache.xerces.internal.util.MessageFormatter, java.util.Locale);
descriptor: (Ljava/io/InputStream;[BZLcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
2: aload 0
aload 2
putfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
3: aload 0
iload 3
putfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fIsBigEndian:Z
4: aload 0
aload 4
putfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fFormatter:Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
5: aload 0
aload 5
putfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fLocale:Ljava/util/Locale;
6: 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 7 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 7 1 inputStream Ljava/io/InputStream;
0 7 2 buffer [B
0 7 3 isBigEndian Z
0 7 4 messageFormatter Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
0 7 5 locale Ljava/util/Locale;
MethodParameters:
Name Flags
inputStream
buffer
isBigEndian
messageFormatter
locale
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: iconst_m1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 2
start local 2 4: iload 2
iconst_m1
if_icmpne 6
5: aload 0
invokevirtual com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.expectedTwoBytes:()V
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fIsBigEndian:Z
ifeq 8
7: iload 1
bipush 8
ishl
iload 2
ior
ireturn
8: StackMap locals:
StackMap stack:
iload 2
bipush 8
ishl
iload 1
ior
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
1 9 1 b0 I
4 9 2 b1 I
Exceptions:
throws java.io.IOException
public int read(char[], int, int);
descriptor: ([CII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_1
ishl
istore 4
start local 4 1: iload 4
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
arraylength
if_icmple 3
2: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
arraylength
istore 4
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iconst_0
iload 4
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 4: iload 5
iconst_m1
if_icmpne 6
5: iconst_m1
ireturn
6: StackMap locals: int
StackMap stack:
iload 5
iconst_1
iand
ifeq 11
7: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 6
start local 6 8: iload 6
iconst_m1
if_icmpne 10
9: aload 0
invokevirtual com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.expectedTwoBytes:()V
10: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iload 5
iinc 5 1
iload 6
i2b
bastore
end local 6 11: StackMap locals:
StackMap stack:
iload 5
iconst_1
ishr
istore 6
start local 6 12: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fIsBigEndian:Z
ifeq 15
13: aload 0
aload 1
iload 2
iload 6
invokevirtual com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.processBE:([CII)V
14: goto 16
15: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 6
invokevirtual com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.processLE:([CII)V
16: StackMap locals:
StackMap stack:
iload 6
ireturn
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 17 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 17 1 ch [C
0 17 2 offset I
0 17 3 length I
1 17 4 byteLength I
4 17 5 byteCount I
8 11 6 b I
12 17 6 charCount 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.UTF16Reader.fInputStream:Ljava/io/InputStream;
lload 1
iconst_1
lshl
invokevirtual java.io.InputStream.skip:(J)J
lstore 3
start local 3 1: lload 3
lconst_1
land
lconst_0
lcmp
ifeq 6
2: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 5
start local 5 3: iload 5
iconst_m1
if_icmpne 5
4: aload 0
invokevirtual com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.expectedTwoBytes:()V
5: StackMap locals: long int
StackMap stack:
lload 3
lconst_1
ladd
lstore 3
end local 5 6: StackMap locals:
StackMap stack:
lload 3
iconst_1
lshr
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 7 1 n J
1 7 3 bytesSkipped J
3 6 5 b I
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/UTF16Reader;
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: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: new java.io.IOException
dup
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fFormatter:Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fLocale:Ljava/util/Locale;
ldc "OperationNotSupported"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "mark()"
aastore
dup
iconst_1
ldc "UTF-16"
aastore
invokeinterface com.sun.org.apache.xerces.internal.util.MessageFormatter.formatMessage:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 1 1 readAheadLimit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readAheadLimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
Exceptions:
throws java.io.IOException
public void close();
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.UTF16Reader.fInputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
Exceptions:
throws java.io.IOException
private void processBE(char[], int, int);
descriptor: ([CII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iload 4
iinc 4 1
baload
sipush 255
iand
istore 6
start local 6 4: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iload 4
iinc 4 1
baload
sipush 255
iand
istore 7
start local 7 5: aload 1
iload 2
iinc 2 1
iload 6
bipush 8
ishl
iload 7
ior
i2c
castore
end local 7 end local 6 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 3
if_icmplt 3
end local 5 8: return
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/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 9 1 ch [C
0 9 2 offset I
0 9 3 count I
1 9 4 curPos I
2 8 5 i I
4 6 6 b0 I
5 6 7 b1 I
MethodParameters:
Name Flags
ch final
offset
count final
private void processLE(char[], int, int);
descriptor: ([CII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iload 4
iinc 4 1
baload
sipush 255
iand
istore 6
start local 6 4: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fBuffer:[B
iload 4
iinc 4 1
baload
sipush 255
iand
istore 7
start local 7 5: aload 1
iload 2
iinc 2 1
iload 7
bipush 8
ishl
iload 6
ior
i2c
castore
end local 7 end local 6 6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 3
if_icmplt 3
end local 5 8: return
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/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
0 9 1 ch [C
0 9 2 offset I
0 9 3 count I
1 9 4 curPos I
2 8 5 i I
4 6 6 b0 I
5 6 7 b1 I
MethodParameters:
Name Flags
ch final
offset
count final
private void expectedTwoBytes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=1, args_size=1
start local 0 0: new com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException
dup
aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fFormatter:Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;
1: aload 0
getfield com.sun.org.apache.xerces.internal.impl.io.UTF16Reader.fLocale:Ljava/util/Locale;
2: ldc "http://www.w3.org/TR/1998/REC-xml-19980210"
3: ldc "ExpectedByte"
4: iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "2"
aastore
dup
iconst_1
ldc "2"
aastore
5: invokespecial com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException.<init>:(Lcom/sun/org/apache/xerces/internal/util/MessageFormatter;Ljava/util/Locale;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xerces/internal/impl/io/UTF16Reader;
Exceptions:
throws com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException
}
SourceFile: "UTF16Reader.java"