public final class com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter extends java.io.Writer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter
super_class: java.io.Writer
{
java.io.OutputStream out;
descriptor: Ljava/io/OutputStream;
flags: (0x0000)
int lastUTF16CodePoint;
descriptor: I
flags: (0x0000)
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.Writer.<init>:()V
1: aload 0
iconst_0
putfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
2: aload 0
aload 1
putfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 4 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public java.lang.String getEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "UTF-8"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
ifeq 11
1: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
sipush 1023
iand
bipush 10
ishl
iload 1
sipush 1023
iand
ior
ldc 65536
iadd
2: istore 2
start local 2 3: iload 2
iflt 4
iload 2
ldc 2097152
if_icmplt 5
4: StackMap locals: int
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Atttempting to write invalid Unicode code point '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
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;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 240
iload 2
bipush 18
ishr
ior
invokevirtual java.io.OutputStream.write:(I)V
6: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 2
bipush 12
ishr
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
7: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 2
bipush 6
ishr
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
8: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 2
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
9: aload 0
iconst_0
putfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
10: return
end local 2 11: StackMap locals:
StackMap stack:
iload 1
sipush 128
if_icmpge 14
12: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
13: goto 25
14: StackMap locals:
StackMap stack:
iload 1
sipush 2048
if_icmpge 18
15: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 192
iload 1
bipush 6
ishr
ior
invokevirtual java.io.OutputStream.write:(I)V
16: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 1
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
17: goto 25
18: StackMap locals:
StackMap stack:
iload 1
ldc 65535
if_icmpgt 25
19: iload 1
invokestatic com.sun.org.apache.xerces.internal.util.XMLChar.isHighSurrogate:(I)Z
ifne 24
iload 1
invokestatic com.sun.org.apache.xerces.internal.util.XMLChar.isLowSurrogate:(I)Z
ifne 24
20: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 224
iload 1
bipush 12
ishr
ior
invokevirtual java.io.OutputStream.write:(I)V
21: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 1
bipush 6
ishr
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
22: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
sipush 128
iload 1
bipush 63
iand
ior
invokevirtual java.io.OutputStream.write:(I)V
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 26 1 c I
3 11 2 uc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void write(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
caload
invokevirtual com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write:(I)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 6 1 cbuf [C
1 5 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
public void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 4
iadd
caload
invokevirtual com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write:(I)V
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 3
if_icmplt 2
end local 4 5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 6 1 cbuf [C
0 6 2 off I
0 6 3 len I
1 5 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write:(I)V
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 2
if_icmplt 3
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 7 1 str Ljava/lang/String;
1 7 2 len I
2 6 3 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
public void write(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 4
iadd
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.write:(I)V
3: iinc 4 1
StackMap locals:
StackMap stack:
4: iload 4
iload 3
if_icmplt 2
end local 4 5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
0 6 1 str Ljava/lang/String;
0 6 2 off I
0 6 3 len I
1 5 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.lastUTF16CodePoint:I
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "Attempting to close a UTF8OutputStreamWriter while awaiting for a UTF-16 code unit"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.stream.writers.UTF8OutputStreamWriter.out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/stream/writers/UTF8OutputStreamWriter;
Exceptions:
throws java.io.IOException
}
SourceFile: "UTF8OutputStreamWriter.java"