class jdk.nashorn.internal.runtime.arrays.JSObjectIterator 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.JSObjectIterator
super_class: jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator
{
protected final jdk.nashorn.api.scripting.JSObject obj;
descriptor: Ljdk/nashorn/api/scripting/JSObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final long length;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.api.scripting.JSObject, boolean);
descriptor: (Ljdk/nashorn/api/scripting/JSObject;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.JSObjectIterator.obj:Ljdk/nashorn/api/scripting/JSObject;
2: aload 0
aload 1
ldc "length"
invokeinterface jdk.nashorn.api.scripting.JSObject.hasMember:(Ljava/lang/String;)Z
ifeq 3
aload 1
ldc "length"
invokeinterface jdk.nashorn.api.scripting.JSObject.getMember:(Ljava/lang/String;)Ljava/lang/Object;
goto 4
StackMap locals: jdk.nashorn.internal.runtime.arrays.JSObjectIterator jdk.nashorn.api.scripting.JSObject int
StackMap stack: jdk.nashorn.internal.runtime.arrays.JSObjectIterator
3: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
StackMap locals: jdk.nashorn.internal.runtime.arrays.JSObjectIterator jdk.nashorn.api.scripting.JSObject int
StackMap stack: jdk.nashorn.internal.runtime.arrays.JSObjectIterator java.lang.Object
4: invokestatic jdk.nashorn.internal.runtime.JSType.toUint32:(Ljava/lang/Object;)J
putfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.length:J
5: aload 0
lconst_0
putfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.index:J
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/arrays/JSObjectIterator;
0 7 1 obj Ljdk/nashorn/api/scripting/JSObject;
0 7 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.JSObjectIterator.index:J
aload 0
getfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.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/JSObjectIterator;
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.JSObjectIterator.length:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/JSObjectIterator;
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.JSObjectIterator.length:J
lconst_0
lcmp
ifne 5
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.obj:Ljdk/nashorn/api/scripting/JSObject;
aload 0
getfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.index:J
l2i
invokeinterface jdk.nashorn.api.scripting.JSObject.hasSlot:(I)Z
ifne 6
aload 0
getfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.includeUndefined:Z
ifeq 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JSObjectIterator.bumpIndex:()J
pop2
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JSObjectIterator.indexInArray:()Z
ifne 2
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JSObjectIterator.indexInArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/arrays/JSObjectIterator;
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.JSObjectIterator.indexInArray:()Z
ifeq 2
1: aload 0
getfield jdk.nashorn.internal.runtime.arrays.JSObjectIterator.obj:Ljdk/nashorn/api/scripting/JSObject;
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JSObjectIterator.bumpIndex:()J
l2i
invokeinterface jdk.nashorn.api.scripting.JSObject.getSlot:(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 Ljdk/nashorn/internal/runtime/arrays/JSObjectIterator;
}
Signature: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
SourceFile: "JSObjectIterator.java"