class jdk.nashorn.internal.runtime.arrays.JavaArrayIterator 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.JavaArrayIterator
super_class: jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator
{
protected final java.lang.Object array;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long length;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/arrays/JavaArrayIterator;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;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: getstatic jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifne 2
new java.lang.AssertionError
dup
ldc "expecting Java array object"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: jdk.nashorn.internal.runtime.arrays.JavaArrayIterator java.lang.Object int
StackMap stack:
aload 0
aload 1
putfield jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.array:Ljava/lang/Object;
3: aload 0
aload 1
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
i2l
putfield jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.length: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/JavaArrayIterator;
0 5 1 array Ljava/lang/Object;
0 5 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.JavaArrayIterator.index:J
aload 0
getfield jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.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/JavaArrayIterator;
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.JavaArrayIterator.array:Ljava/lang/Object;
aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.bumpIndex:()J
l2i
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/JavaArrayIterator;
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.JavaArrayIterator.length:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/JavaArrayIterator;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.indexInArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/JavaArrayIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "remove"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/JavaArrayIterator;
}
Signature: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
SourceFile: "JavaArrayIterator.java"