public class sun.nio.cs.ext.JISAutoDetect extends java.nio.charset.Charset implements sun.nio.cs.HistoricallyNamedCharset
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.cs.ext.JISAutoDetect
super_class: java.nio.charset.Charset
{
private static final int EUCJP_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int SJIS2B_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int SJIS1B_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int EUCJP_KANA1_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int EUCJP_KANA2_MASK;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "x-JISAutoDetect"
ldc "x-JISAutoDetect"
invokestatic sun.nio.cs.ext.ExtendedCharsets.aliasesFor:(Ljava/lang/String;)[Ljava/lang/String;
invokespecial java.nio.charset.Charset.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/cs/ext/JISAutoDetect;
public boolean contains(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
ldc "US-ASCII"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
1: aload 1
instanceof sun.nio.cs.ext.SJIS
ifne 5
2: aload 1
instanceof sun.nio.cs.ext.EUC_JP
ifne 5
3: aload 1
instanceof sun.nio.cs.ext.ISO2022_JP
ifne 5
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/cs/ext/JISAutoDetect;
0 6 1 cs Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
cs
public boolean canEncode();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/ext/JISAutoDetect;
public java.nio.charset.CharsetDecoder newDecoder();
descriptor: ()Ljava/nio/charset/CharsetDecoder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.nio.cs.ext.JISAutoDetect$Decoder
dup
aload 0
invokespecial sun.nio.cs.ext.JISAutoDetect$Decoder.<init>:(Ljava/nio/charset/Charset;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/ext/JISAutoDetect;
public java.lang.String historicalName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "JISAutoDetect"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/ext/JISAutoDetect;
public java.nio.charset.CharsetEncoder newEncoder();
descriptor: ()Ljava/nio/charset/CharsetEncoder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/ext/JISAutoDetect;
public static byte[] getByteMask1();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.nio.cs.ext.JISAutoDetect$Decoder.maskTable1:[B
areturn
LocalVariableTable:
Start End Slot Name Signature
public static byte[] getByteMask2();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.nio.cs.ext.JISAutoDetect$Decoder.maskTable2:[B
areturn
LocalVariableTable:
Start End Slot Name Signature
public static final boolean canBeSJIS1B(int);
descriptor: (I)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_4
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mask I
MethodParameters:
Name Flags
mask
public static final boolean canBeEUCJP(int);
descriptor: (I)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 mask I
MethodParameters:
Name Flags
mask
public static final boolean canBeEUCKana(int, int);
descriptor: (II)Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
bipush 8
iand
ifeq 3
1: iload 1
bipush 16
iand
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 mask1 I
0 4 1 mask2 I
MethodParameters:
Name Flags
mask1
mask2
private static boolean looksLikeJapanese(java.nio.CharBuffer);
descriptor: (Ljava/nio/CharBuffer;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual java.nio.CharBuffer.get:()C
istore 3
start local 3 4: sipush 12352
iload 3
if_icmpgt 5
iload 3
sipush 12447
if_icmpgt 5
iinc 1 1
iload 1
iconst_1
if_icmple 5
iconst_1
ireturn
5: StackMap locals: int
StackMap stack:
ldc 65381
iload 3
if_icmpgt 6
iload 3
ldc 65439
if_icmpgt 6
iinc 2 1
iload 2
iconst_1
if_icmple 6
iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.CharBuffer.hasRemaining:()Z
ifne 3
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 cb Ljava/nio/CharBuffer;
1 8 1 hiragana I
2 8 2 katakana I
4 6 3 c C
MethodParameters:
Name Flags
cb
}
SourceFile: "JISAutoDetect.java"
NestMembers:
sun.nio.cs.ext.JISAutoDetect$Decoder
InnerClasses:
private Decoder = sun.nio.cs.ext.JISAutoDetect$Decoder of sun.nio.cs.ext.JISAutoDetect