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
private byte[] bb;
descriptor: [B
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
iconst_4
newarray 8
putfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
3: aload 0
iload 3
putfield sun.awt.motif.X11CNS11643$Encoder.plane:I
4: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 5 2 cs Ljava/nio/charset/Charset;
0 5 3 plane I
MethodParameters:
Name Flags
this$0 final
cs
plane
public boolean canEncode(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, 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
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
invokevirtual sun.awt.motif.X11CNS11643$Encoder.toEUC:(C[B)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 5
4: iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: iload 2
iconst_4
if_icmpne 8
7: aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_1
baload
sipush 255
iand
sipush 160
isub
istore 3
8: StackMap locals: int
StackMap stack:
iload 3
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
if_icmpne 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 10 1 c C
3 10 2 nb I
6 10 3 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 32
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
bipush 127
if_icmple 28
iload 9
ldc 65534
if_icmpge 28
9: aload 0
iload 9
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
invokevirtual sun.awt.motif.X11CNS11643$Encoder.toEUC:(C[B)I
istore 10
start local 10 10: iload 10
iconst_m1
if_icmpeq 28
11: iconst_0
istore 11
start local 11 12: iload 10
iconst_4
if_icmpne 14
13: aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_1
baload
sipush 255
iand
sipush 160
isub
istore 11
14: StackMap locals: int int int
StackMap stack:
iload 11
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.plane:I
if_icmpne 28
15: iload 8
iload 7
isub
iconst_2
if_icmpge 20
16: getstatic java.nio.charset.CoderResult.OVERFLOW:Ljava/nio/charset/CoderResult;
astore 13
17: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
18: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
19: aload 13
areturn
20: StackMap locals:
StackMap stack:
iload 10
iconst_2
if_icmpne 24
21: aload 6
iload 7
iinc 7 1
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_0
baload
bipush 127
iand
i2b
bastore
22: aload 6
iload 7
iinc 7 1
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_1
baload
bipush 127
iand
i2b
bastore
23: goto 26
24: StackMap locals:
StackMap stack:
aload 6
iload 7
iinc 7 1
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_2
baload
bipush 127
iand
i2b
bastore
25: aload 6
iload 7
iinc 7 1
aload 0
getfield sun.awt.motif.X11CNS11643$Encoder.bb:[B
iconst_3
baload
bipush 127
iand
i2b
bastore
26: StackMap locals:
StackMap stack:
iinc 4 1
27: goto 32
end local 11 end local 10 28: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.nio.charset.CoderResult.unmappableForLength:(I)Ljava/nio/charset/CoderResult;
astore 13
29: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
30: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
31: aload 13
areturn
end local 9 32: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 7
33: getstatic java.nio.charset.CoderResult.UNDERFLOW:Ljava/nio/charset/CoderResult;
astore 13
34: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
35: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
36: aload 13
areturn
37: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
38: aload 1
iload 4
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
isub
invokevirtual java.nio.CharBuffer.position:(I)Ljava/nio/Buffer;
pop
39: aload 2
iload 7
aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
40: 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 41 0 this Lsun/awt/motif/X11CNS11643$Encoder;
0 41 1 src Ljava/nio/CharBuffer;
0 41 2 dst Ljava/nio/ByteBuffer;
1 41 3 sa [C
2 41 4 sp I
3 41 5 sl I
4 41 6 da [B
5 41 7 dp I
6 41 8 dl I
8 32 9 c C
10 28 10 nb I
12 28 11 p I
Exception table:
from to target type
6 17 37 any
20 29 37 any
32 34 37 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