final class org.jruby.RubyArray$RubyArrayConversionListIterator extends org.jruby.RubyArray<T>.RubyArrayConversionIterator implements java.util.ListIterator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.RubyArray$RubyArrayConversionListIterator
super_class: org.jruby.RubyArray$RubyArrayConversionIterator
{
final org.jruby.RubyArray this$0;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.jruby.RubyArray);
descriptor: (Lorg/jruby/RubyArray;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
aload 0
aload 1
invokespecial org.jruby.RubyArray$RubyArrayConversionIterator.<init>:(Lorg/jruby/RubyArray;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
MethodParameters:
Name Flags
this$0 final
public void <init>(org.jruby.RubyArray, int);
descriptor: (Lorg/jruby/RubyArray;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
aload 0
aload 1
invokespecial org.jruby.RubyArray$RubyArrayConversionIterator.<init>:(Lorg/jruby/RubyArray;)V
1: aload 0
iload 2
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
0 3 2 index I
MethodParameters:
Name Flags
this$0 final
index
public boolean hasPrevious();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
public java.lang.Object previous();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
aload 0
aload 0
dup
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
iconst_1
isub
dup_x1
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
dup_x1
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.last:I
i2l
invokevirtual org.jruby.RubyArray.elt:(J)Lorg/jruby/runtime/builtin/IRubyObject;
ldc Ljava/lang/Object;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
public int nextIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
public int previousIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
public void set(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.last:I
iconst_m1
if_icmpne 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.last:I
i2l
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
getfield org.jruby.RubyArray.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyArray.store:(JLorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void add(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
getfield org.jruby.RubyArray.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.this$0:Lorg/jruby/RubyArray;
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aload 0
dup
getfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
dup_x1
iconst_1
iadd
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.index:I
i2l
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
aastore
dup
iconst_1
aload 2
aload 1
invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
aastore
invokevirtual org.jruby.RubyArray.insert:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 0
iconst_m1
putfield org.jruby.RubyArray$RubyArrayConversionListIterator.last:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyArray$RubyArrayConversionListIterator;
0 4 1 obj Ljava/lang/Object;
1 4 2 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
obj
}
Signature: Lorg/jruby/RubyArray<TT;>.RubyArrayConversionIterator;Ljava/util/ListIterator;
SourceFile: "RubyArray.java"
NestHost: org.jruby.RubyArray
InnerClasses:
public RubyArrayConversionIterator = org.jruby.RubyArray$RubyArrayConversionIterator of org.jruby.RubyArray
final RubyArrayConversionListIterator = org.jruby.RubyArray$RubyArrayConversionListIterator of org.jruby.RubyArray