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 36
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifeq 36
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 36
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 4
start local 4 8: iload 4
invokestatic java.lang.Character.isSurrogate:(C)Z
ifne 16
9: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 13
10: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 7
11: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
12: aload 7
areturn
13: StackMap locals: int
StackMap stack:
iinc 3 1
14: aload 0
iload 4
aload 2
invokevirtual sun.nio.cs.UTF_32Coder$Encoder.put:(ILjava/nio/ByteBuffer;)V
15: goto 36
StackMap locals:
StackMap stack:
16: iload 4
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 33
17: aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 21
18: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 7
19: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
20: aload 7
areturn
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.get:()C
istore 5
start local 5 22: iload 5
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 30
23: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 27
24: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 7
25: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
26: aload 7
areturn
27: StackMap locals: int
StackMap stack:
iinc 3 2
28: aload 0
iload 4
iload 5
invokestatic java.lang.Character.toCodePoint:(CC)I
aload 2
invokevirtual sun.nio.cs.UTF_32Coder$Encoder.put:(ILjava/nio/ByteBuffer;)V
29: goto 36
30: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
astore 7
31: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
32: aload 7
areturn
end local 5 33: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.malformedForLength:(I)Ljava/nio/charset/CoderResult;
astore 7
34: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
35: aload 7
areturn
end local 4 36: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 7
37: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 7
38: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
39: aload 7
areturn
40: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
41: aload 1
iload 3
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/CharBuffer;
pop
42: aload 6
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lsun/nio/cs/UTF_32Coder$Encoder;
0 43 1 src Ljava/nio/CharBuffer;
0 43 2 dst Ljava/nio/ByteBuffer;
1 43 3 mark I
8 36 4 c C
22 33 5 low C
Exception table:
from to target type
6 11 40 any
13 19 40 any
21 25 40 any
27 31 40 any
33 34 40 any
36 38 40 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