class sun.awt.motif.X11CNS11643$Encoder extends sun.nio.cs.ext.EUC_TW$Encoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.motif.X11CNS11643$Encoder
super_class: sun.nio.cs.ext.EUC_TW$Encoder
{
private int plane;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final sun.awt.motif.X11CNS11643 this$0;
descriptor: Lsun/awt/motif/X11CNS11643;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.awt.motif.X11CNS11643, java.nio.charset.Charset, int);
descriptor: (Lsun/awt/motif/X11CNS11643;Ljava/nio/charset/Charset;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.awt.motif.X11CNS11643$Encoder.this$0:Lsun/awt/motif/X11CNS11643;
1: aload 0
aload 2
invokespecial sun.nio.cs.ext.EUC_TW$Encoder.<init>:(Ljava/nio/charset/Charset;)V
2: aload 0
iload 3
putfield sun.awt.motif.X11CNS11643$Encoder.plane:I
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 4 2 cs Ljava/nio/charset/Charset;
0 4 3 plane I
MethodParameters:
Name Flags
this$0 final
cs
plane
public boolean canEncode(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
bipush 127
if_icmpgt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.motif.X11CNS11643$Encoder.getNative:(C)I
bipush 16
ishr
istore 2
start local 2 3: iload 2
iconst_1
if_icmpne 4
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
ifeq 6
4: StackMap locals: int
StackMap stack:
iload 2
iconst_2
if_icmpne 5
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
iconst_2
if_icmpeq 6
5: StackMap locals:
StackMap stack:
iload 2
iconst_3
if_icmpne 7
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
iconst_3
if_icmpne 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 8 1 c C
3 8 2 p I
MethodParameters:
Name Flags
c
public boolean isLegalReplacement(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 1 1 repl [B
MethodParameters:
Name Flags
repl
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=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.CharBuffer.array:()[C
astore 3
start local 3 1: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.position:()I
iadd
istore 4
start local 4 2: aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.limit:()I
iadd
istore 5
start local 5 3: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 6
start local 6 4: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 7
start local 7 5: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 2
invokevirtual java.nio.ByteBuffer.limit:()I
iadd
istore 8
start local 8 6: goto 31
7: StackMap locals: sun.awt.motif.X11CNS11643$Encoder java.nio.CharBuffer java.nio.ByteBuffer char[] int int byte[] int int
StackMap stack:
aload 3
iload 4
caload
istore 9
start local 9 8: iload 9
ldc 65534
if_icmpge 9
iload 9
bipush 127
if_icmpgt 13
9: StackMap locals: int
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 13
10: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
11: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
12: aload 13
areturn
13: StackMap locals:
StackMap stack:
aload 0
iload 9
invokevirtual sun.awt.motif.X11CNS11643$Encoder.getNative:(C)I
istore 10
start local 10 14: iload 10
bipush 16
ishr
istore 11
start local 11 15: iload 11
iconst_1
if_icmpne 16
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
ifeq 18
16: StackMap locals: int int
StackMap stack:
iload 11
iconst_2
if_icmpne 17
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
iconst_2
if_icmpeq 18
17: StackMap locals:
StackMap stack:
iload 11
iconst_3
if_icmpne 27
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
iconst_3
if_icmpne 27
18: StackMap locals:
StackMap stack:
iload 8
iload 7
isub
iconst_2
if_icmpge 23
19: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 13
20: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
21: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
22: aload 13
areturn
23: StackMap locals:
StackMap stack:
aload 6
iload 7
iinc 7 1
iload 10
bipush 8
ishr
bipush 127
iand
i2b
bastore
24: aload 6
iload 7
iinc 7 1
iload 10
bipush 127
iand
i2b
bastore
25: iinc 4 1
26: goto 31
27: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 13
28: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
29: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
30: aload 13
areturn
end local 11 end local 10 end local 9 31: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 7
32: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 13
33: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
34: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
35: aload 13
areturn
36: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
37: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
38: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
39: aload 12
athrow
end local 8 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 40 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 40 1 src Ljava/nio/CharBuffer;
0 40 2 dst Ljava/nio/ByteBuffer;
1 40 3 sa [C
2 40 4 sp I
3 40 5 sl I
4 40 6 da [B
5 40 7 dp I
6 40 8 dl I
8 31 9 c C
14 31 10 cns I
15 31 11 p I
Exception table:
from to target type
6 10 36 any
13 20 36 any
23 28 36 any
31 33 36 any
MethodParameters:
Name Flags
src
dst
}
SourceFile: "X11CNS11643.java"
NestHost: sun.awt.motif.X11CNS11643
InnerClasses:
private Encoder = sun.awt.motif.X11CNS11643$Encoder of sun.awt.motif.X11CNS11643
public Encoder = sun.nio.cs.ext.EUC_TW$Encoder of sun.nio.cs.ext.EUC_TW