public class org.jruby.ext.nkf.RubyNKF
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.nkf.RubyNKF
super_class: java.lang.Object
{
private static final org.jruby.util.ByteList BEGIN_MIME_STRING;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.util.ByteList END_MIME_STRING;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.util.ByteList PACK_BASE64;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.jruby.util.ByteList PACK_QENCODE;
descriptor: Lorg/jruby/util/ByteList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.util.Map<java.lang.Integer, java.lang.String> NKFCharsetMap;
descriptor: Ljava/util/Map;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/String;>;
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset AUTO;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset JIS;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset EUC;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset SJIS;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset BINARY;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset NOCONV;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset UNKNOWN;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset ASCII;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset UTF8;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset UTF16;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset UTF32;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset OTHER;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset BASE64;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset QENCODE;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.jruby.ext.nkf.RubyNKF$NKFCharset MIME_DETECT;
descriptor: Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static volatile int[] $SWITCH_TABLE$org$jruby$ext$nkf$RubyNKF$NKFCharset;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.jruby.util.ByteList
dup
ldc "=?"
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ext.nkf.RubyNKF.BEGIN_MIME_STRING:Lorg/jruby/util/ByteList;
1: new org.jruby.util.ByteList
dup
ldc "?="
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ext.nkf.RubyNKF.END_MIME_STRING:Lorg/jruby/util/ByteList;
2: new org.jruby.util.ByteList
dup
ldc "m"
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ext.nkf.RubyNKF.PACK_BASE64:Lorg/jruby/util/ByteList;
3: new org.jruby.util.ByteList
dup
ldc "M"
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
putstatic org.jruby.ext.nkf.RubyNKF.PACK_QENCODE:Lorg/jruby/util/ByteList;
4: new java.util.HashMap
dup
bipush 20
fconst_1
invokespecial java.util.HashMap.<init>:(IF)V
putstatic org.jruby.ext.nkf.RubyNKF.NKFCharsetMap:Ljava/util/Map;
5: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.AUTO:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.AUTO:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
6: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
7: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
8: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
9: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BINARY:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.BINARY:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
10: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
11: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UNKNOWN:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.UNKNOWN:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
12: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.ASCII:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.ASCII:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
13: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
14: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
15: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
16: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.OTHER:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.OTHER:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
17: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
18: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
19: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.MIME_DETECT:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
putstatic org.jruby.ext.nkf.RubyNKF.MIME_DETECT:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/RubyNKF;
public static void load(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.jruby.ext.nkf.RubyNKF.createNKF:(Lorg/jruby/Ruby;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public static void createNKF(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ldc "NKF"
invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 1
start local 1 1: aload 1
ldc "NKF_VERSION"
aload 0
ldc "2.1.2"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyModule.defineConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 1
ldc "NKF_RELEASE_DATE"
aload 0
ldc "2011-09-08"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyModule.defineConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
3: aload 1
ldc "VERSION"
aload 0
ldc "2.1.2 (JRuby_2011-09-08)"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyModule.defineConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
4: invokestatic org.jruby.ext.nkf.RubyNKF$NKFCharset.values:()[Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: org.jruby.Ruby org.jruby.RubyModule top int int org.jruby.ext.nkf.RubyNKF$NKFCharset[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: getstatic org.jruby.ext.nkf.RubyNKF.NKFCharsetMap:Ljava/util/Map;
aload 2
getfield org.jruby.ext.nkf.RubyNKF$NKFCharset.value:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 2
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.name:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 2
getfield org.jruby.ext.nkf.RubyNKF$NKFCharset.value:I
bipush 12
if_icmple 8
goto 9
8: StackMap locals: org.jruby.Ruby org.jruby.RubyModule org.jruby.ext.nkf.RubyNKF$NKFCharset int int org.jruby.ext.nkf.RubyNKF$NKFCharset[]
StackMap stack:
aload 1
aload 2
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.name:()Ljava/lang/String;
aload 0
aload 2
invokestatic org.jruby.ext.nkf.RubyNKF.charsetMappedValue:(Lorg/jruby/Ruby;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyModule.defineConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
end local 2 9: StackMap locals: org.jruby.Ruby org.jruby.RubyModule top int int org.jruby.ext.nkf.RubyNKF$NKFCharset[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 5
11: aload 1
ldc Lorg/jruby/ext/nkf/RubyNKF;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 runtime Lorg/jruby/Ruby;
1 13 1 NKF Lorg/jruby/RubyModule;
6 9 2 charset Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
MethodParameters:
Name Flags
runtime
public static org.jruby.runtime.builtin.IRubyObject guess(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
aload 2
invokestatic org.jruby.ext.nkf.RubyNKF.guess:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokestatic org.jruby.ext.nkf.RubyNKF.charsetMappedValue:(Lorg/jruby/Ruby;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 s Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"guess"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
s
public static org.jruby.ext.nkf.RubyNKF$NKFCharset guess(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
ldc "to_str"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 3
2: aload 2
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 3
start local 3 4: aload 3
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
aload 3
invokevirtual org.jruby.util.ByteList.begin:()I
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
astore 4
start local 4 5: ldc "x-JISAutoDetect"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 5
start local 5 6: goto 9
end local 5 StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.util.ByteList java.nio.ByteBuffer
StackMap stack: java.nio.charset.UnsupportedCharsetException
7: pop
8: aload 2
ldc "charsets.jar is required to use NKF#guess. Please install JRE which supports m17n."
invokevirtual org.jruby.Ruby.newStandardError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
start local 5 9: StackMap locals: java.nio.charset.CharsetDecoder
StackMap stack:
aload 5
aload 4
invokevirtual java.nio.charset.CharsetDecoder.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
pop
10: aload 5
invokevirtual java.nio.charset.CharsetDecoder.isCharsetDetected:()Z
ifne 13
11: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UNKNOWN:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
12: areturn
13: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.nio.charset.CharsetDecoder.detectedCharset:()Ljava/nio/charset/Charset;
astore 6
start local 6 14: aload 6
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
astore 7
start local 7 15: ldc "Shift_JIS"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
17: areturn
18: StackMap locals: java.nio.charset.Charset java.lang.String
StackMap stack:
ldc "Windows-31j"
aload 7
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
20: areturn
21: StackMap locals:
StackMap stack:
ldc "EUC-JP"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
22: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
23: areturn
24: StackMap locals:
StackMap stack:
ldc "ISO-2022-JP"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
25: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
26: areturn
end local 7 end local 6 27: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.util.ByteList java.nio.ByteBuffer java.nio.charset.CharsetDecoder
StackMap stack: java.nio.charset.CharacterCodingException
pop
28: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
if_acmpne 30
29: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
areturn
30: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.toString:()Ljava/lang/String;
ldc "UTF-16"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
31: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
areturn
32: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jcodings.Encoding.toString:()Ljava/lang/String;
ldc "UTF-32"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 34
33: getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
areturn
34: StackMap locals:
StackMap stack:
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UNKNOWN:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
areturn
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 35 0 context Lorg/jruby/runtime/ThreadContext;
0 35 1 s Lorg/jruby/runtime/builtin/IRubyObject;
1 35 2 runtime Lorg/jruby/Ruby;
4 35 3 bytes Lorg/jruby/util/ByteList;
5 35 4 buf Ljava/nio/ByteBuffer;
6 7 5 decoder Ljava/nio/charset/CharsetDecoder;
9 35 5 decoder Ljava/nio/charset/CharsetDecoder;
14 27 6 charset Ljava/nio/charset/Charset;
15 27 7 name Ljava/lang/String;
Exception table:
from to target type
5 6 7 Class java.nio.charset.UnsupportedCharsetException
9 12 27 Class java.nio.charset.CharacterCodingException
13 17 27 Class java.nio.charset.CharacterCodingException
18 20 27 Class java.nio.charset.CharacterCodingException
21 23 27 Class java.nio.charset.CharacterCodingException
24 26 27 Class java.nio.charset.CharacterCodingException
MethodParameters:
Name Flags
context
s
private static org.jruby.runtime.builtin.IRubyObject charsetMappedValue(org.jruby.Ruby, org.jruby.ext.nkf.RubyNKF$NKFCharset);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.ext.nkf.RubyNKF.$SWITCH_TABLE$org$jruby$ext$nkf$RubyNKF$NKFCharset:()[I
aload 1
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 1
2: 4
3: 4
4: 4
5: 2
6: 1
7: 1
default: 4
}
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
invokevirtual org.jruby.runtime.encoding.EncodingService.getAscii8bitEncoding:()Lorg/jcodings/Encoding;
astore 2
start local 2 3: aload 0
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 2
invokevirtual org.jruby.runtime.encoding.EncodingService.convertEncodingToRubyEncoding:(Lorg/jcodings/Encoding;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 1
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.getCharset:()Ljava/lang/String;
invokevirtual org.jruby.runtime.encoding.EncodingService.getEncodingFromString:(Ljava/lang/String;)Lorg/jcodings/Encoding;
astore 2
start local 2 5: aload 0
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 2
invokevirtual org.jruby.runtime.encoding.EncodingService.convertEncodingToRubyEncoding:(Lorg/jcodings/Encoding;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 charset Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
3 4 2 encoding Lorg/jcodings/Encoding;
5 6 2 encoding Lorg/jcodings/Encoding;
MethodParameters:
Name Flags
runtime final
charset final
public static org.jruby.runtime.builtin.IRubyObject guess1(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.ext.nkf.RubyNKF.guess:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 str Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"guess1"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
str
public static org.jruby.runtime.builtin.IRubyObject guess2(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.jruby.ext.nkf.RubyNKF.guess:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 str Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"guess2"}, required = 1, module = true)
MethodParameters:
Name Flags
context
recv
str
public static org.jruby.runtime.builtin.IRubyObject nkf(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 2
ldc "to_str"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 3
2: aload 4
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 3
ldc "to_str"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 5
4: aload 4
new java.lang.StringBuilder
dup
ldc "can't convert "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " into String"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.toString:()Ljava/lang/String;
invokestatic org.jruby.ext.nkf.RubyNKF.parseOpt:(Ljava/lang/String;)Ljava/util/Map;
astore 5
start local 5 6: aload 5
ldc "input"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.ext.nkf.RubyNKF$NKFCharset
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.getValue:()I
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.AUTO:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.getValue:()I
if_icmpne 8
7: aload 5
ldc "input"
aload 0
aload 3
invokestatic org.jruby.ext.nkf.RubyNKF.guess:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: java.util.Map
StackMap stack:
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 6
start local 6 9: aload 6
aload 5
invokestatic org.jruby.ext.nkf.RubyNKF$Converter.isMimeText:(Lorg/jruby/util/ByteList;Ljava/util/Map;)Z
ifeq 12
10: new org.jruby.ext.nkf.RubyNKF$MimeConverter
dup
aload 0
aload 5
invokespecial org.jruby.ext.nkf.RubyNKF$MimeConverter.<init>:(Lorg/jruby/runtime/ThreadContext;Ljava/util/Map;)V
astore 7
start local 7 11: goto 13
end local 7 12: StackMap locals: org.jruby.util.ByteList
StackMap stack:
new org.jruby.ext.nkf.RubyNKF$DefaultConverter
dup
aload 0
aload 5
invokespecial org.jruby.ext.nkf.RubyNKF$DefaultConverter.<init>:(Lorg/jruby/runtime/ThreadContext;Ljava/util/Map;)V
astore 7
start local 7 13: StackMap locals: org.jruby.ext.nkf.RubyNKF$Converter
StackMap stack:
aload 7
aload 6
invokevirtual org.jruby.ext.nkf.RubyNKF$Converter.convert:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 8
start local 8 14: aload 5
ldc "mime-encode"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
if_acmpne 17
15: aload 4
aload 8
getstatic org.jruby.ext.nkf.RubyNKF.PACK_BASE64:Lorg/jruby/util/ByteList;
invokestatic org.jruby.ext.nkf.RubyNKF$Converter.encodeMimeString:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 8
16: goto 19
StackMap locals: org.jruby.RubyString
StackMap stack:
17: aload 5
ldc "mime-encode"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
if_acmpne 19
18: aload 4
aload 8
getstatic org.jruby.ext.nkf.RubyNKF.PACK_QENCODE:Lorg/jruby/util/ByteList;
invokestatic org.jruby.ext.nkf.RubyNKF$Converter.encodeMimeString:(Lorg/jruby/Ruby;Lorg/jruby/RubyString;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 8
19: StackMap locals:
StackMap stack:
aload 8
areturn
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 20 0 context Lorg/jruby/runtime/ThreadContext;
0 20 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 20 2 opt Lorg/jruby/runtime/builtin/IRubyObject;
0 20 3 str Lorg/jruby/runtime/builtin/IRubyObject;
1 20 4 runtime Lorg/jruby/Ruby;
6 20 5 options Ljava/util/Map<Ljava/lang/String;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;>;
9 20 6 bstr Lorg/jruby/util/ByteList;
11 12 7 converter Lorg/jruby/ext/nkf/RubyNKF$Converter;
13 20 7 converter Lorg/jruby/ext/nkf/RubyNKF$Converter;
14 20 8 result Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"nkf"}, required = 2, module = true)
MethodParameters:
Name Flags
context
recv
opt
str
public static org.jruby.ext.nkf.Command parseOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/nkf/Command;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new org.jruby.ext.nkf.Options
dup
invokespecial org.jruby.ext.nkf.Options.<init>:()V
astore 1
start local 1 1: aload 1
ldc "b"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
2: aload 1
ldc "u"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
3: aload 1
ldc "j"
ldc "jis"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
4: aload 1
ldc "s"
ldc "sjis"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
5: aload 1
ldc "e"
ldc "euc"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
6: aload 1
ldc "w"
aconst_null
ldc "[0-9][0-9]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
7: aload 1
ldc "J"
ldc "jis-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
8: aload 1
ldc "S"
ldc "sjis-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
9: aload 1
ldc "E"
ldc "euc-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
10: aload 1
ldc "W"
aconst_null
ldc "[0-9][0-9]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
11: aload 1
ldc "t"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
12: aload 1
ldc "i_"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
13: aload 1
ldc "o_"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
14: aload 1
ldc "r"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
15: aload 1
ldc "h1"
ldc "hiragana"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
16: aload 1
ldc "h2"
ldc "katakana"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
17: aload 1
ldc "h3"
ldc "katakana-hiragana"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
18: aload 1
ldc "T"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
19: aload 1
ldc "l"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
20: aload 1
ldc "f"
aconst_null
ldc "[0-9]+-[0-9]*"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
21: aload 1
ldc "F"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
22: aload 1
ldc "Z"
aconst_null
ldc "[0-3]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
23: aload 1
ldc "X"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
24: aload 1
ldc "x"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
25: aload 1
ldc "B"
aconst_null
ldc "[0-2]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
26: aload 1
ldc "I"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
27: aload 1
ldc "L"
aconst_null
ldc "[uwm]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
28: aload 1
ldc "d"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
29: aload 1
ldc "c"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
30: aload 1
ldc "m"
aconst_null
ldc "[BQN0]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
31: aload 1
ldc "M"
aconst_null
ldc "[BQ]"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
32: aload 1
aconst_null
ldc "fj"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
33: aload 1
aconst_null
ldc "unix"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
34: aload 1
aconst_null
ldc "mac"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
35: aload 1
aconst_null
ldc "msdos"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
36: aload 1
aconst_null
ldc "windows"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
37: aload 1
aconst_null
ldc "mime"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
38: aload 1
aconst_null
ldc "base64"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
39: aload 1
aconst_null
ldc "mime-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
40: aload 1
aconst_null
ldc "base64-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
41: aload 1
aconst_null
ldc "ic"
ldc "ic=(.*)"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
42: aload 1
aconst_null
ldc "oc"
ldc "oc=(.*)"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
43: aload 1
aconst_null
ldc "fb-skip"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
44: aload 1
aconst_null
ldc "fb-html"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
45: aload 1
aconst_null
ldc "fb-xml"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
46: aload 1
aconst_null
ldc "fb-perl"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
47: aload 1
aconst_null
ldc "fb-java"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
48: aload 1
aconst_null
ldc "fb-subchar"
ldc "fb-subchar=(.*)"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
49: aload 1
aconst_null
ldc "no-cp932ext"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
50: aload 1
aconst_null
ldc "cap-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
51: aload 1
aconst_null
ldc "url-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
52: aload 1
aconst_null
ldc "numchar-input"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
53: aload 1
aconst_null
ldc "no-best-fit-chars"
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
pop
54: new org.jruby.ext.nkf.CommandParser
dup
invokespecial org.jruby.ext.nkf.CommandParser.<init>:()V
astore 2
start local 2 55: aload 2
aload 1
aload 0
invokevirtual org.jruby.ext.nkf.CommandParser.parse:(Lorg/jruby/ext/nkf/Options;Ljava/lang/String;)Lorg/jruby/ext/nkf/Command;
astore 3
start local 3 56: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 s Ljava/lang/String;
1 57 1 options Lorg/jruby/ext/nkf/Options;
55 57 2 parser Lorg/jruby/ext/nkf/CommandParser;
56 57 3 cmd Lorg/jruby/ext/nkf/Command;
MethodParameters:
Name Flags
s
private static java.util.Map<java.lang.String, org.jruby.ext.nkf.RubyNKF$NKFCharset> parseOpt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.AUTO:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 1
ldc "mime-decode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.MIME_DETECT:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 1
ldc "mime-encode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
invokestatic org.jruby.ext.nkf.RubyNKF.parseOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Command;
astore 2
start local 2 6: aload 2
ldc "j"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 8
7: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals: java.util.Map org.jruby.ext.nkf.Command
StackMap stack:
aload 2
ldc "s"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 10
9: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
aload 2
ldc "e"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 12
11: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
aload 2
ldc "w"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 21
13: aload 2
ldc "w"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 14: ldc "32"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: goto 21
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
17: ldc "16"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 21: StackMap locals:
StackMap stack:
aload 2
ldc "J"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 23
22: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: StackMap locals:
StackMap stack:
aload 2
ldc "S"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 25
24: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
25: StackMap locals:
StackMap stack:
aload 2
ldc "E"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 27
26: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
27: StackMap locals:
StackMap stack:
aload 2
ldc "W"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 36
28: aload 2
ldc "W"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 29: ldc "32"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: goto 36
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
32: ldc "16"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
34: goto 36
35: StackMap locals:
StackMap stack:
aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 36: StackMap locals:
StackMap stack:
aload 2
ldc "m"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 50
37: aload 2
ldc "m"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 38: aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
ifnonnull 41
39: aload 1
ldc "mime-decode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.MIME_DETECT:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: goto 50
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
41: ldc "B"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 44
42: aload 1
ldc "mime-decode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
43: goto 50
StackMap locals:
StackMap stack:
44: ldc "Q"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
45: aload 1
ldc "mime-decode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
46: goto 50
StackMap locals:
StackMap stack:
47: ldc "N"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 50
48: ldc "0"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 50
49: aload 1
ldc "mime-decode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 50: StackMap locals:
StackMap stack:
aload 2
ldc "M"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 60
51: aload 2
ldc "M"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 52: aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
ifnonnull 55
53: aload 1
ldc "mime-encode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
54: goto 60
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
55: ldc "B"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 58
56: aload 1
ldc "mime-encode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
57: goto 60
StackMap locals:
StackMap stack:
58: ldc "Q"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 60
59: aload 1
ldc "mime-encode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 60: StackMap locals:
StackMap stack:
aload 2
ldc "base64"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 62
61: aload 1
ldc "mime-encode"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
62: StackMap locals:
StackMap stack:
aload 2
ldc "oc"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 96
63: aload 2
ldc "oc"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 64: ldc "ISO-2022-JP"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 67
65: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
66: goto 96
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
67: ldc "EUC-JP"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 70
68: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
69: goto 96
StackMap locals:
StackMap stack:
70: ldc "CP932"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 73
71: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
72: goto 96
StackMap locals:
StackMap stack:
73: ldc "Shift_JIS"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 76
74: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
75: goto 96
StackMap locals:
StackMap stack:
76: ldc "Windows-31J"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 79
77: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
78: goto 96
StackMap locals:
StackMap stack:
79: ldc "UTF-8"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 82
80: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
81: goto 96
StackMap locals:
StackMap stack:
82: ldc "UTF-8N"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 85
83: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
84: goto 96
StackMap locals:
StackMap stack:
85: ldc "UTF-16"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 88
86: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
87: goto 96
StackMap locals:
StackMap stack:
88: ldc "UTF-16BE-BOM"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 91
89: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
90: goto 96
StackMap locals:
StackMap stack:
91: ldc "UTF-32"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 94
92: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
93: goto 96
StackMap locals:
StackMap stack:
94: ldc "UTF-32BE-BOM"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 96
95: aload 1
ldc "output"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 96: StackMap locals:
StackMap stack:
aload 2
ldc "ic"
invokevirtual org.jruby.ext.nkf.Command.hasOption:(Ljava/lang/String;)Z
ifeq 130
97: aload 2
ldc "ic"
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
astore 3
start local 3 98: ldc "ISO-2022-JP"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 101
99: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
100: goto 130
StackMap locals: org.jruby.ext.nkf.Option
StackMap stack:
101: ldc "EUC-JP"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 104
102: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
103: goto 130
StackMap locals:
StackMap stack:
104: ldc "CP932"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 107
105: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
106: goto 130
StackMap locals:
StackMap stack:
107: ldc "Shift_JIS"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 110
108: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
109: goto 130
StackMap locals:
StackMap stack:
110: ldc "Windows-31J"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 113
111: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
112: goto 130
StackMap locals:
StackMap stack:
113: ldc "UTF-8"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 116
114: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
115: goto 130
StackMap locals:
StackMap stack:
116: ldc "UTF-8N"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 119
117: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
118: goto 130
StackMap locals:
StackMap stack:
119: ldc "UTF-16"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 122
120: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
121: goto 130
StackMap locals:
StackMap stack:
122: ldc "UTF-16BE-BOM"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 125
123: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
124: goto 130
StackMap locals:
StackMap stack:
125: ldc "UTF-32"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 128
126: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
127: goto 130
StackMap locals:
StackMap stack:
128: ldc "UTF-32BE-BOM"
aload 3
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifne 130
129: aload 1
ldc "input"
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 130: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 131 0 s Ljava/lang/String;
1 131 1 options Ljava/util/Map<Ljava/lang/String;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;>;
6 131 2 cmd Lorg/jruby/ext/nkf/Command;
14 21 3 opt Lorg/jruby/ext/nkf/Option;
29 36 3 opt Lorg/jruby/ext/nkf/Option;
38 50 3 opt Lorg/jruby/ext/nkf/Option;
52 60 3 opt Lorg/jruby/ext/nkf/Option;
64 96 3 opt Lorg/jruby/ext/nkf/Option;
98 130 3 opt Lorg/jruby/ext/nkf/Option;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;>;
MethodParameters:
Name Flags
s
static int[] $SWITCH_TABLE$org$jruby$ext$nkf$RubyNKF$NKFCharset();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ext.nkf.RubyNKF.$SWITCH_TABLE$org$jruby$ext$nkf$RubyNKF$NKFCharset:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.ext.nkf.RubyNKF$NKFCharset.values:()[Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.ASCII:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 8
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.AUTO:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BASE64:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 13
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.BINARY:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.EUC:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.JIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iconst_2
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.MIME_DETECT:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 15
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.NOCONV:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 6
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.OTHER:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 12
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.QENCODE:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 14
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.SJIS:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
iconst_4
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UNKNOWN:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 7
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF16:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 10
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF32:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 11
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic org.jruby.ext.nkf.RubyNKF$NKFCharset.UTF8:Lorg/jruby/ext/nkf/RubyNKF$NKFCharset;
invokevirtual org.jruby.ext.nkf.RubyNKF$NKFCharset.ordinal:()I
bipush 9
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
dup
putstatic org.jruby.ext.nkf.RubyNKF.$SWITCH_TABLE$org$jruby$ext$nkf$RubyNKF$NKFCharset:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
}
SourceFile: "RubyNKF.java"
NestMembers:
org.jruby.ext.nkf.RubyNKF$Converter org.jruby.ext.nkf.RubyNKF$DefaultConverter org.jruby.ext.nkf.RubyNKF$MimeConverter org.jruby.ext.nkf.RubyNKF$NKFCharset
InnerClasses:
abstract Converter = org.jruby.ext.nkf.RubyNKF$Converter of org.jruby.ext.nkf.RubyNKF
DefaultConverter = org.jruby.ext.nkf.RubyNKF$DefaultConverter of org.jruby.ext.nkf.RubyNKF
MimeConverter = org.jruby.ext.nkf.RubyNKF$MimeConverter of org.jruby.ext.nkf.RubyNKF
public final NKFCharset = org.jruby.ext.nkf.RubyNKF$NKFCharset of org.jruby.ext.nkf.RubyNKF
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"NKF"})