public class org.jruby.RubyArray$RubyArrayConversionIterator implements java.util.Iterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyArray$RubyArrayConversionIterator
super_class: java.lang.Object
{
protected int index;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int last;
descriptor: I
flags: (0x0004) ACC_PROTECTED
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$RubyArrayConversionIterator.this$0:Lorg/jruby/RubyArray;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
2: aload 0
iconst_m1
putfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyArray$RubyArrayConversionIterator;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.this$0:Lorg/jruby/RubyArray;
getfield org.jruby.RubyArray.realLength:I
if_icmpge 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$RubyArrayConversionIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.this$0:Lorg/jruby/RubyArray;
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
i2l
invokevirtual org.jruby.RubyArray.elt:(J)Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 0
aload 0
dup
getfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
dup_x1
iconst_1
iadd
putfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
putfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
2: aload 1
ldc Ljava/lang/Object;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyArray$RubyArrayConversionIterator;
1 3 1 element Lorg/jruby/runtime/builtin/IRubyObject;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
iconst_m1
if_icmpne 1
new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.this$0:Lorg/jruby/RubyArray;
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
invokevirtual org.jruby.RubyArray.delete_at:(I)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
aload 0
getfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
if_icmpge 3
aload 0
dup
getfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
iconst_1
isub
putfield org.jruby.RubyArray$RubyArrayConversionIterator.index:I
3: StackMap locals:
StackMap stack:
aload 0
iconst_m1
putfield org.jruby.RubyArray$RubyArrayConversionIterator.last:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyArray$RubyArrayConversionIterator;
}
SourceFile: "RubyArray.java"
NestHost: org.jruby.RubyArray
InnerClasses:
public RubyArrayConversionIterator = org.jruby.RubyArray$RubyArrayConversionIterator of org.jruby.RubyArray