public abstract class jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator
super_class: java.lang.Object
{
protected long index;
descriptor: J
flags: (0x0004) ACC_PROTECTED
protected final boolean includeUndefined;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
void <init>(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.includeUndefined:Z
2: aload 0
lconst_0
putfield jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.index:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<TT;>;
0 4 1 includeUndefined Z
MethodParameters:
Name Flags
includeUndefined final
public boolean isReverse();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<TT;>;
protected long bumpIndex();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.index:J
dup2_x1
lconst_1
ladd
putfield jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.index:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<TT;>;
public long nextIndex();
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.ArrayLikeIterator.index:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<TT;>;
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/ArrayLikeIterator<TT;>;
public abstract long getLength();
descriptor: ()J
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object> arrayLikeIterator();
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.arrayLikeIterator:(Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
object final
public static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object> reverseArrayLikeIterator();
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.reverseArrayLikeIterator:(Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
object final
public static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object> arrayLikeIterator(, boolean);
descriptor: (Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 2
invokestatic jdk.nashorn.internal.runtime.ScriptObject.isArray:(Ljava/lang/Object;)Z
ifeq 3
2: new jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator
dup
aload 2
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ScriptArrayIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toScriptObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
4: aload 2
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 6
5: new jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator
dup
aload 2
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ScriptObjectIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
areturn
6: StackMap locals:
StackMap stack:
aload 2
instanceof jdk.nashorn.api.scripting.JSObject
ifeq 8
7: new jdk.nashorn.internal.runtime.arrays.JSObjectIterator
dup
aload 2
checkcast jdk.nashorn.api.scripting.JSObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.JSObjectIterator.<init>:(Ljdk/nashorn/api/scripting/JSObject;Z)V
areturn
8: StackMap locals:
StackMap stack:
aload 2
instanceof java.util.List
ifeq 10
9: new jdk.nashorn.internal.runtime.arrays.JavaListIterator
dup
aload 2
checkcast java.util.List
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.JavaListIterator.<init>:(Ljava/util/List;Z)V
areturn
10: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 12
11: new jdk.nashorn.internal.runtime.arrays.JavaArrayIterator
dup
aload 2
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.JavaArrayIterator.<init>:(Ljava/lang/Object;Z)V
areturn
12: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.arrays.EmptyArrayLikeIterator
dup
invokespecial jdk.nashorn.internal.runtime.arrays.EmptyArrayLikeIterator.<init>:()V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 object Ljava/lang/Object;
0 13 1 includeUndefined Z
1 13 2 obj Ljava/lang/Object;
Signature: (Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
object final
includeUndefined final
public static jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object> reverseArrayLikeIterator(, boolean);
descriptor: (Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: aload 2
invokestatic jdk.nashorn.internal.runtime.ScriptObject.isArray:(Ljava/lang/Object;)Z
ifeq 3
2: new jdk.nashorn.internal.runtime.arrays.ReverseScriptArrayIterator
dup
aload 2
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ReverseScriptArrayIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toScriptObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
4: aload 2
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 6
5: new jdk.nashorn.internal.runtime.arrays.ReverseScriptObjectIterator
dup
aload 2
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ReverseScriptObjectIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Z)V
areturn
6: StackMap locals:
StackMap stack:
aload 2
instanceof jdk.nashorn.api.scripting.JSObject
ifeq 8
7: new jdk.nashorn.internal.runtime.arrays.ReverseJSObjectIterator
dup
aload 2
checkcast jdk.nashorn.api.scripting.JSObject
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ReverseJSObjectIterator.<init>:(Ljdk/nashorn/api/scripting/JSObject;Z)V
areturn
8: StackMap locals:
StackMap stack:
aload 2
instanceof java.util.List
ifeq 10
9: new jdk.nashorn.internal.runtime.arrays.ReverseJavaListIterator
dup
aload 2
checkcast java.util.List
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ReverseJavaListIterator.<init>:(Ljava/util/List;Z)V
areturn
10: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 12
11: new jdk.nashorn.internal.runtime.arrays.ReverseJavaArrayIterator
dup
aload 2
iload 1
invokespecial jdk.nashorn.internal.runtime.arrays.ReverseJavaArrayIterator.<init>:(Ljava/lang/Object;Z)V
areturn
12: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.arrays.EmptyArrayLikeIterator
dup
invokespecial jdk.nashorn.internal.runtime.arrays.EmptyArrayLikeIterator.<init>:()V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 object Ljava/lang/Object;
0 13 1 includeUndefined Z
1 13 2 obj Ljava/lang/Object;
Signature: (Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
object final
includeUndefined final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ArrayLikeIterator.java"