public class sun.io.CharToBytePCK extends sun.io.CharToByteSJIS
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.io.CharToBytePCK
super_class: sun.io.CharToByteSJIS
{
sun.io.CharToByteJIS0201 cbJIS0201;
descriptor: Lsun/io/CharToByteJIS0201;
flags: (0x0000)
short[] j0208Index1;
descriptor: [S
flags: (0x0000)
java.lang.String[] j0208Index2;
descriptor: [Ljava/lang/String;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.CharToByteSJIS.<init>:()V
1: aload 0
new sun.io.CharToByteJIS0201
dup
invokespecial sun.io.CharToByteJIS0201.<init>:()V
putfield sun.io.CharToBytePCK.cbJIS0201:Lsun/io/CharToByteJIS0201;
2: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Solaris_Encoder.getIndex1:()[S
putfield sun.io.CharToBytePCK.j0208Index1:[S
3: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Solaris_Encoder.getIndex2:()[Ljava/lang/String;
putfield sun.io.CharToBytePCK.j0208Index2:[Ljava/lang/String;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/io/CharToBytePCK;
public java.lang.String getCharacterEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "PCK"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToBytePCK;
protected int convSingleByte(char, byte[]);
descriptor: (C[B)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ldc 65408
iand
ifne 3
1: aload 2
iconst_0
iload 1
i2b
bastore
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToBytePCK.cbJIS0201:Lsun/io/CharToByteJIS0201;
iload 1
invokevirtual sun.io.CharToByteJIS0201.getNative:(C)B
dup
istore 3
start local 3 4: ifne 6
5: iconst_0
ireturn
6: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iload 3
bastore
7: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/io/CharToBytePCK;
0 8 1 inputChar C
0 8 2 outputByte [B
4 8 3 b B
MethodParameters:
Name Flags
inputChar
outputByte
protected int getNative(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iload 1
tableswitch { // 8212 - 8213
8212: 3
8213: 2
default: 4
}
2: StackMap locals: int
StackMap stack:
ldc 33116
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
iload 1
invokespecial sun.io.CharToByteSJIS.getNative:(C)I
dup
istore 2
ifeq 6
5: iload 2
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToBytePCK.j0208Index1:[S
iload 1
bipush 8
ishr
saload
bipush 8
ishl
istore 3
start local 3 7: aload 0
getfield sun.io.CharToBytePCK.j0208Index2:[Ljava/lang/String;
iload 3
bipush 12
ishr
aaload
iload 3
sipush 4095
iand
iload 1
sipush 255
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 8: iload 4
ifeq 19
9: iload 4
bipush 8
ishr
sipush 255
iand
istore 5
start local 5 10: iload 4
sipush 255
iand
istore 6
start local 6 11: iload 5
bipush 95
if_icmpge 12
bipush 112
goto 13
StackMap locals: sun.io.CharToBytePCK int int int int int int
StackMap stack:
12: sipush 176
StackMap locals:
StackMap stack: int
13: istore 7
start local 7 14: iload 5
iconst_2
irem
iconst_1
if_icmpne 16
iload 6
bipush 95
if_icmple 15
bipush 32
goto 17
StackMap locals: int
StackMap stack:
15: bipush 31
goto 17
StackMap locals:
StackMap stack:
16: bipush 126
StackMap locals:
StackMap stack: int
17: istore 8
start local 8 18: iload 5
iconst_1
iadd
iconst_1
ishr
iload 7
iadd
bipush 8
ishl
iload 6
iload 8
iadd
ior
istore 2
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 19: StackMap locals: sun.io.CharToBytePCK int int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/io/CharToBytePCK;
0 20 1 ch C
1 20 2 result I
7 19 3 offset I
8 19 4 pos I
10 19 5 c1 I
11 19 6 c2 I
14 19 7 rowOffset I
18 19 8 cellOffset I
MethodParameters:
Name Flags
ch
}
SourceFile: "CharToBytePCK.java"