class jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator extends jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator
super_class: jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator
{
protected final jdk.nashorn.internal.runtime.ScriptObject array;
descriptor: Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long length;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(jdk.nashorn.internal.runtime.ScriptObject, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokespecial jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.<init>:(Z)V
1: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.array:Ljdk/nashorn/internal/runtime/ScriptObject;
2: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getArray:()Ljdk/nashorn/internal/runtime/arrays/ArrayData;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.length:()J
putfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.length:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
0 4 1 array Ljdk/nashorn/internal/runtime/ScriptObject;
0 4 2 includeUndefined Z
MethodParameters:
Name Flags
array final
includeUndefined final
protected boolean indexInArray();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.index:J
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.length:J
lcmp
ifge 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 Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.array:Ljdk/nashorn/internal/runtime/ScriptObject;
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.bumpIndex:()J
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(D)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
public long getLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.length:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.includeUndefined:Z
ifne 6
1: goto 5
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.array:Ljdk/nashorn/internal/runtime/ScriptObject;
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.index:J
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.has:(D)Z
ifeq 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.bumpIndex:()J
pop2
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.indexInArray:()Z
ifne 2
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.indexInArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.array:Ljdk/nashorn/internal/runtime/ScriptObject;
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.index:J
l2d
iconst_0
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.delete:(DZ)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptArrayIterator;
}
Signature: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
SourceFile: "ScriptArrayIterator.java"