class sun.font.X11GBK$Encoder extends sun.nio.cs.DoubleByte$Encoder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.font.X11GBK$Encoder
super_class: sun.nio.cs.DoubleByte$Encoder
{
private sun.nio.cs.DoubleByte$Encoder enc;
descriptor: Lsun/nio/cs/DoubleByte$Encoder;
flags: (0x0002) ACC_PRIVATE
final sun.font.X11GBK this$0;
descriptor: Lsun/font/X11GBK;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.font.X11GBK, java.nio.charset.Charset);
descriptor: (Lsun/font/X11GBK;Ljava/nio/charset/Charset;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.font.X11GBK$Encoder.this$0:Lsun/font/X11GBK;
1: aload 0
aload 2
aconst_null
aconst_null
invokespecial sun.nio.cs.DoubleByte$Encoder.<init>:(Ljava/nio/charset/Charset;[C[C)V
2: aload 0
new sun.nio.cs.GBK
dup
invokespecial sun.nio.cs.GBK.<init>:()V
invokevirtual sun.nio.cs.GBK.newEncoder:()Ljava/nio/charset/CharsetEncoder;
checkcast sun.nio.cs.DoubleByte$Encoder
putfield sun.font.X11GBK$Encoder.enc:Lsun/nio/cs/DoubleByte$Encoder;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/font/X11GBK$Encoder;
0 4 2 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
this$0 final
cs
public boolean canEncode(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 128
if_icmpge 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.X11GBK$Encoder.enc:Lsun/nio/cs/DoubleByte$Encoder;
iload 1
invokevirtual sun.nio.cs.DoubleByte$Encoder.canEncode:(C)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/font/X11GBK$Encoder;
0 2 1 ch C
MethodParameters:
Name Flags
ch
public int encodeChar(char);
descriptor: (C)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 128
if_icmpge 2
1: ldc 65533
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.font.X11GBK$Encoder.enc:Lsun/nio/cs/DoubleByte$Encoder;
iload 1
invokevirtual sun.nio.cs.DoubleByte$Encoder.encodeChar:(C)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/font/X11GBK$Encoder;
0 3 1 ch C
MethodParameters:
Name Flags
ch
}
SourceFile: "X11GBK.java"
NestHost: sun.font.X11GBK
InnerClasses:
private Encoder = sun.font.X11GBK$Encoder of sun.font.X11GBK
public Encoder = sun.nio.cs.DoubleByte$Encoder of sun.nio.cs.DoubleByte