public class org.jruby.ext.nkf.Options
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.nkf.Options
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, org.jruby.ext.nkf.Option> shortOpts;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
private java.util.Map<java.lang.String, org.jruby.ext.nkf.Option> longOpts;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.jruby.ext.nkf.Options.shortOpts:Ljava/util/Map;
2: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield org.jruby.ext.nkf.Options.longOpts:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/nkf/Options;
public org.jruby.ext.nkf.Options addOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/Options;
0 1 1 opt Ljava/lang/String;
MethodParameters:
Name Flags
opt
public org.jruby.ext.nkf.Options addOption(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.jruby.ext.nkf.Options.addOption:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/Options;
0 1 1 opt Ljava/lang/String;
0 1 2 longOpt Ljava/lang/String;
MethodParameters:
Name Flags
opt
longOpt
public org.jruby.ext.nkf.Options addOption(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/ext/nkf/Options;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new org.jruby.ext.nkf.Option
dup
aload 1
aload 2
aload 3
invokespecial org.jruby.ext.nkf.Option.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
invokevirtual org.jruby.ext.nkf.Options.addOption:(Lorg/jruby/ext/nkf/Option;)Lorg/jruby/ext/nkf/Options;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/Options;
0 1 1 opt Ljava/lang/String;
0 1 2 longOpt Ljava/lang/String;
0 1 3 pattern Ljava/lang/String;
MethodParameters:
Name Flags
opt
longOpt
pattern
public org.jruby.ext.nkf.Options addOption(org.jruby.ext.nkf.Option);
descriptor: (Lorg/jruby/ext/nkf/Option;)Lorg/jruby/ext/nkf/Options;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ext.nkf.Option.hasLongOpt:()Z
ifeq 2
1: aload 0
getfield org.jruby.ext.nkf.Options.longOpts:Ljava/util/Map;
aload 1
invokevirtual org.jruby.ext.nkf.Option.getLongOpt:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ext.nkf.Option.hasShortOpt:()Z
ifeq 4
3: aload 0
getfield org.jruby.ext.nkf.Options.shortOpts:Ljava/util/Map;
aload 1
invokevirtual org.jruby.ext.nkf.Option.getOpt:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/nkf/Options;
0 5 1 opt Lorg/jruby/ext/nkf/Option;
MethodParameters:
Name Flags
opt
boolean hasShortOption(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Options.shortOpts:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/nkf/Options;
0 6 1 opt Ljava/lang/String;
2 4 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
MethodParameters:
Name Flags
opt
public org.jruby.ext.nkf.Option matchShortOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Options.shortOpts:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.jruby.ext.nkf.Option
astore 4
start local 4 4: aload 4
invokevirtual org.jruby.ext.nkf.Option.hasArg:()Z
ifeq 8
5: aload 4
invokevirtual org.jruby.ext.nkf.Option.pattern:()Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 6: aload 5
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
7: aload 4
aload 5
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
invokevirtual org.jruby.ext.nkf.Option.setValue:(Ljava/lang/String;)V
end local 5 8: StackMap locals: org.jruby.ext.nkf.Options java.lang.String java.util.Map$Entry java.util.Iterator org.jruby.ext.nkf.Option
StackMap stack:
aload 4
areturn
end local 4 end local 2 9: StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/nkf/Options;
0 11 1 opt Ljava/lang/String;
2 9 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
4 9 4 cmd Lorg/jruby/ext/nkf/Option;
6 8 5 m Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
opt
boolean hasLongOption(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Options.longOpts:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/nkf/Options;
0 6 1 opt Ljava/lang/String;
2 4 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
MethodParameters:
Name Flags
opt
org.jruby.ext.nkf.Option matchLongOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Options.longOpts:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
3: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.jruby.ext.nkf.Option
astore 4
start local 4 4: aload 4
invokevirtual org.jruby.ext.nkf.Option.hasArg:()Z
ifeq 8
5: aload 4
invokevirtual org.jruby.ext.nkf.Option.pattern:()Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 6: aload 5
invokevirtual java.util.regex.Matcher.find:()Z
ifeq 8
7: aload 4
aload 5
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokevirtual org.jruby.ext.nkf.Option.setValue:(Ljava/lang/String;)V
end local 5 8: StackMap locals: org.jruby.ext.nkf.Options java.lang.String java.util.Map$Entry java.util.Iterator org.jruby.ext.nkf.Option
StackMap stack:
aload 4
areturn
end local 4 end local 2 9: StackMap locals: org.jruby.ext.nkf.Options java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/ext/nkf/Options;
0 11 1 opt Ljava/lang/String;
2 9 2 e Ljava/util/Map$Entry<Ljava/lang/String;Lorg/jruby/ext/nkf/Option;>;
4 9 4 cmd Lorg/jruby/ext/nkf/Option;
6 8 5 m Ljava/util/regex/Matcher;
MethodParameters:
Name Flags
opt
}
SourceFile: "Options.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map