final class com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator implements java.util.Iterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator
super_class: java.lang.Object
{
private final java.lang.Object array;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int length;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.array:Ljava/lang/Object;
2: aload 0
aload 1
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
putfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.length:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/nodes/access/EnumerateNode$ArrayIterator;
0 4 1 array Ljava/lang/Object;
MethodParameters:
Name Flags
array
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.index:I
aload 0
getfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.length: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 Lcom/oracle/truffle/js/nodes/access/EnumerateNode$ArrayIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.hasNext:()Z
ifeq 2
1: aload 0
getfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.array:Ljava/lang/Object;
aload 0
dup
getfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.index:I
dup_x1
iconst_1
iadd
putfield com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator.index:I
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/nodes/access/EnumerateNode$ArrayIterator;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/Object;>;
SourceFile: "EnumerateNode.java"
NestHost: com.oracle.truffle.js.nodes.access.EnumerateNode
InnerClasses:
private final ArrayIterator = com.oracle.truffle.js.nodes.access.EnumerateNode$ArrayIterator of com.oracle.truffle.js.nodes.access.EnumerateNode