public class org.jruby.ext.nkf.Command
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.nkf.Command
super_class: java.lang.Object
{
private final java.util.List<org.jruby.ext.nkf.Option> options;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<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.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jruby.ext.nkf.Command.options:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/nkf/Command;
public boolean hasOption(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Command.options:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ext.nkf.Command java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ext.nkf.Option
astore 2
start local 2 2: aload 1
aload 2
invokevirtual org.jruby.ext.nkf.Option.getOpt:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_1
ireturn
3: StackMap locals: org.jruby.ext.nkf.Command java.lang.String org.jruby.ext.nkf.Option java.util.Iterator
StackMap stack:
aload 1
aload 2
invokevirtual org.jruby.ext.nkf.Option.getLongOpt:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_1
ireturn
end local 2 4: StackMap locals: org.jruby.ext.nkf.Command java.lang.String top java.util.Iterator
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/Command;
0 6 1 opt Ljava/lang/String;
2 4 2 option Lorg/jruby/ext/nkf/Option;
MethodParameters:
Name Flags
opt
public void addOption(org.jruby.ext.nkf.Option);
descriptor: (Lorg/jruby/ext/nkf/Option;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Command.options:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/nkf/Command;
0 2 1 opt Lorg/jruby/ext/nkf/Option;
MethodParameters:
Name Flags
opt
public org.jruby.ext.nkf.Option getOption(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ext.nkf.Command.options:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.jruby.ext.nkf.Command java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jruby.ext.nkf.Option
astore 2
start local 2 2: aload 1
aload 2
invokevirtual org.jruby.ext.nkf.Option.getOpt:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 2
areturn
3: StackMap locals: org.jruby.ext.nkf.Command java.lang.String org.jruby.ext.nkf.Option java.util.Iterator
StackMap stack:
aload 1
aload 2
invokevirtual org.jruby.ext.nkf.Option.getLongOpt:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 2
areturn
end local 2 4: StackMap locals: org.jruby.ext.nkf.Command java.lang.String top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/nkf/Command;
0 6 1 opt Ljava/lang/String;
2 4 2 option Lorg/jruby/ext/nkf/Option;
MethodParameters:
Name Flags
opt
public java.lang.String getOptionValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ext.nkf.Command.getOption:(Ljava/lang/String;)Lorg/jruby/ext/nkf/Option;
invokevirtual org.jruby.ext.nkf.Option.getValue:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/Command;
0 1 1 opt Ljava/lang/String;
MethodParameters:
Name Flags
opt
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.nkf.Command.options:Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/nkf/Command;
}
SourceFile: "Command.java"