class sun.nio.cs.ext.SJIS$Encoder extends sun.nio.cs.ext.JIS_X_0208_Encoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.cs.ext.SJIS$Encoder
super_class: sun.nio.cs.ext.JIS_X_0208_Encoder
{
private sun.nio.cs.ext.JIS_X_0201$Encoder jis0201;
descriptor: Lsun/nio/cs/ext/JIS_X_0201$Encoder;
flags: (0x0002) ACC_PRIVATE
short[] j0208Index1;
descriptor: [S
flags: (0x0000)
java.lang.String[] j0208Index2;
descriptor: [Ljava/lang/String;
flags: (0x0000)
protected void <init>(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.nio.cs.ext.JIS_X_0208_Encoder.<init>:(Ljava/nio/charset/Charset;)V
1: aload 0
new sun.nio.cs.ext.JIS_X_0201$Encoder
dup
aload 1
invokespecial sun.nio.cs.ext.JIS_X_0201$Encoder.<init>:(Ljava/nio/charset/Charset;)V
putfield sun.nio.cs.ext.SJIS$Encoder.jis0201:Lsun/nio/cs/ext/JIS_X_0201$Encoder;
2: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Encoder.getIndex1:()[S
putfield sun.nio.cs.ext.SJIS$Encoder.j0208Index1:[S
3: aload 0
invokestatic sun.nio.cs.ext.JIS_X_0208_Encoder.getIndex2:()[Ljava/lang/String;
putfield sun.nio.cs.ext.SJIS$Encoder.j0208Index2:[Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/nio/cs/ext/SJIS$Encoder;
0 5 1 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
cs
protected int encodeSingle(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
ldc 65408
iand
ifne 2
1: iload 1
i2b
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.nio.cs.ext.SJIS$Encoder.jis0201:Lsun/nio/cs/ext/JIS_X_0201$Encoder;
iload 1
invokevirtual sun.nio.cs.ext.JIS_X_0201$Encoder.encode:(C)B
dup
istore 2
start local 2 3: ifne 5
4: iconst_m1
ireturn
5: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/cs/ext/SJIS$Encoder;
0 6 1 inputChar C
3 6 2 b B
MethodParameters:
Name Flags
inputChar
protected int encodeDouble(char);
descriptor: (C)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.ext.SJIS$Encoder.j0208Index1:[S
iload 1
bipush 8
ishr
saload
bipush 8
ishl
istore 2
start local 2 1: aload 0
getfield sun.nio.cs.ext.SJIS$Encoder.j0208Index2:[Ljava/lang/String;
iload 2
bipush 12
ishr
aaload
iload 2
sipush 4095
iand
iload 1
sipush 255
iand
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 2: iload 3
ifne 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
iload 3
bipush 8
ishr
sipush 255
iand
istore 4
start local 4 5: iload 3
sipush 255
iand
istore 5
start local 5 6: iload 4
bipush 95
if_icmpge 7
bipush 112
goto 8
StackMap locals: int int
StackMap stack:
7: sipush 176
StackMap locals:
StackMap stack: int
8: istore 6
start local 6 9: iload 4
iconst_2
irem
iconst_1
if_icmpne 11
iload 5
bipush 95
if_icmple 10
bipush 32
goto 12
StackMap locals: int
StackMap stack:
10: bipush 31
goto 12
StackMap locals:
StackMap stack:
11: bipush 126
StackMap locals:
StackMap stack: int
12: istore 7
start local 7 13: iload 4
iconst_1
iadd
iconst_1
ishr
iload 6
iadd
bipush 8
ishl
iload 5
iload 7
iadd
ior
ireturn
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 14 0 this Lsun/nio/cs/ext/SJIS$Encoder;
0 14 1 ch C
1 14 2 offset I
2 14 3 pos I
5 14 4 c1 I
6 14 5 c2 I
9 14 6 rowOffset I
13 14 7 cellOffset I
MethodParameters:
Name Flags
ch
}
SourceFile: "SJIS.java"
NestHost: sun.nio.cs.ext.SJIS
InnerClasses:
public Encoder = sun.nio.cs.ext.JIS_X_0201$Encoder of sun.nio.cs.ext.JIS_X_0201
Encoder = sun.nio.cs.ext.SJIS$Encoder of sun.nio.cs.ext.SJIS