public class sun.nio.cs.UTF_32Coder$Encoder extends java.nio.charset.CharsetEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.cs.UTF_32Coder$Encoder
super_class: java.nio.charset.CharsetEncoder
{
private boolean doBOM;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean doneBOM;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int byteOrder;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void put(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.cs.UTF_32Coder$Encoder.byteOrder:I
iconst_1
if_icmpne 6
1: aload 2
iload 1
bipush 24
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: aload 2
iload 1
bipush 16
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
3: aload 2
iload 1
bipush 8
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: aload 2
iload 1
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
5: goto 10
6: StackMap locals:
StackMap stack:
aload 2
iload 1
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
7: aload 2
iload 1
bipush 8
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
8: aload 2
iload 1
bipush 16
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: aload 2
iload 1
bipush 24
ishr
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/cs/UTF_32Coder$Encoder;
0 11 1 cp I
0 11 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
cp
dst
protected void <init>(java.nio.charset.Charset, int, boolean);
descriptor: (Ljava/nio/charset/Charset;IZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
ldc 4.0
1: iload 3
ifeq 2
ldc 8.0
goto 3
StackMap locals: uninitialized-this java.nio.charset.Charset int int
StackMap stack: uninitialized-this java.nio.charset.Charset float
2: ldc 4.0
3: StackMap locals: uninitialized-this java.nio.charset.Charset int int
StackMap stack: uninitialized-this java.nio.charset.Charset float float
iload 2
iconst_1
if_icmpne 4
iconst_4
newarray 8
dup
iconst_2
iconst_m1
bastore
dup
iconst_3
bipush -3
bastore
goto 5
4: StackMap locals: uninitialized-this java.nio.charset.Charset int int
StackMap stack: uninitialized-this java.nio.charset.Charset float float
iconst_4
newarray 8
dup
iconst_0
bipush -3
bastore
dup
iconst_1
iconst_m1
bastore
StackMap locals: uninitialized-this java.nio.charset.Charset int int
StackMap stack: uninitialized-this java.nio.charset.Charset float float byte[]
5: invokespecial java.nio.charset.CharsetEncoder.<init>:(Ljava/nio/charset/Charset;FF[B)V
6: aload 0
iconst_0
putfield sun.nio.cs.UTF_32Coder$Encoder.doBOM:Z
7: aload 0
iconst_1
putfield sun.nio.cs.UTF_32Coder$Encoder.doneBOM:Z
8: aload 0
iload 2
putfield sun.nio.cs.UTF_32Coder$Encoder.byteOrder:I
9: aload 0
iload 3
putfield sun.nio.cs.UTF_32Coder$Encoder.doBOM:Z
10: aload 0
iload 3
ifeq 11
iconst_0
goto 12
StackMap locals: sun.nio.cs.UTF_32Coder$Encoder java.nio.charset.Charset int int
StackMap stack: sun.nio.cs.UTF_32Coder$Encoder
11: iconst_1
StackMap locals: sun.nio.cs.UTF_32Coder$Encoder java.nio.charset.Charset int int
StackMap stack: sun.nio.cs.UTF_32Coder$Encoder int
12: putfield sun.nio.cs.UTF_32Coder$Encoder.doneBOM:Z
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/cs/UTF_32Coder$Encoder;
0 14 1 cs Ljava/nio/charset/Charset;
0 14 2 byteOrder I
0 14 3 doBOM Z
MethodParameters:
Name Flags
cs
byteOrder
doBOM
protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.position:()I
istore 3
start local 3 1: aload 0
getfield sun.nio.cs.UTF_32Coder$Encoder.doneBOM:Z
ifne 35
2: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 4
3: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
areturn
4: StackMap locals: int
StackMap stack:
aload 0
ldc 65279
aload 2
invokevirtual sun.nio.cs.UTF_32Coder$Encoder.put:(ILjava/nio/ByteBuffer;)V
5: aload 0
iconst_1
putfield sun.nio.cs.UTF_32Coder$Encoder.doneBOM:Z
6: goto 35
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 4
start local 4 8: iload 4
invokestatic sun.nio.cs.Surrogate.isHigh:(I)Z
ifeq 25
9: aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 13
10: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 7
11: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
12: aload 7
areturn
13: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 5
start local 5 14: iload 5
invokestatic sun.nio.cs.Surrogate.isLow:(I)Z
ifeq 22
15: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 19
16: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 7
17: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
18: aload 7
areturn
19: StackMap locals: int
StackMap stack:
iinc 3 2
20: aload 0
iload 4
iload 5
invokestatic sun.nio.cs.Surrogate.toUCS4:(CC)I
aload 2
invokevirtual sun.nio.cs.UTF_32Coder$Encoder.put:(ILjava/nio/ByteBuffer;)V
21: goto 35
22: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
astore 7
23: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
24: aload 7
areturn
end local 5 25: StackMap locals:
StackMap stack:
iload 4
invokestatic sun.nio.cs.Surrogate.isLow:(I)Z
ifeq 29
26: iconst_1
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
astore 7
27: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
28: aload 7
areturn
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 33
30: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 7
31: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
32: aload 7
areturn
33: StackMap locals:
StackMap stack:
iinc 3 1
34: aload 0
iload 4
aload 2
invokevirtual sun.nio.cs.UTF_32Coder$Encoder.put:(ILjava/nio/ByteBuffer;)V
end local 4 35: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 7
36: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 7
37: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
38: aload 7
areturn
39: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
40: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
41: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/nio/cs/UTF_32Coder$Encoder;
0 42 1 src Ljava/nio/CharBuffer;
0 42 2 dst Ljava/nio/ByteBuffer;
1 42 3 mark I
8 35 4 c C
14 25 5 low C
Exception table:
from to target type
6 11 39 any
13 17 39 any
19 23 39 any
25 27 39 any
29 31 39 any
33 37 39 any
MethodParameters:
Name Flags
src
dst
protected void implReset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.nio.cs.UTF_32Coder$Encoder.doBOM:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: sun.nio.cs.UTF_32Coder$Encoder
1: iconst_1
StackMap locals: sun.nio.cs.UTF_32Coder$Encoder
StackMap stack: sun.nio.cs.UTF_32Coder$Encoder int
2: putfield sun.nio.cs.UTF_32Coder$Encoder.doneBOM:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/UTF_32Coder$Encoder;
}
SourceFile: "UTF_32Coder.java"
NestHost: sun.nio.cs.UTF_32Coder
InnerClasses:
protected Encoder = sun.nio.cs.UTF_32Coder$Encoder of sun.nio.cs.UTF_32Coder