class jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator 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.ScriptObjectIterator
super_class: jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator
{
protected final jdk.nashorn.internal.runtime.ScriptObject obj;
descriptor: Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final long length;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.internal.runtime.ScriptObject, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
flags: (0x0000)
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.ScriptObjectIterator.obj:Ljdk/nashorn/internal/runtime/ScriptObject;
2: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getLength:()Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toUint32:(Ljava/lang/Object;)J
putfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.length:J
3: aload 0
lconst_0
putfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.index:J
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptObjectIterator;
0 5 1 obj Ljdk/nashorn/internal/runtime/ScriptObject;
0 5 2 includeUndefined Z
MethodParameters:
Name Flags
obj 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.ScriptObjectIterator.index:J
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.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/ScriptObjectIterator;
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.ScriptObjectIterator.length:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptObjectIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.length:J
lconst_0
lcmp
ifne 5
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.obj:Ljdk/nashorn/internal/runtime/ScriptObject;
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.index:J
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.has:(D)Z
ifne 6
aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.includeUndefined:Z
ifeq 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.bumpIndex:()J
pop2
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.indexInArray:()Z
ifne 2
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.indexInArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/arrays/ScriptObjectIterator;
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
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.indexInArray:()Z
ifeq 2
1: aload 0
getfield jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.obj:Ljdk/nashorn/internal/runtime/ScriptObject;
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.bumpIndex:()J
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(D)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 Ljdk/nashorn/internal/runtime/arrays/ScriptObjectIterator;
}
Signature: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
SourceFile: "ScriptObjectIterator.java"