class jdk.nashorn.internal.runtime.ScriptRuntime$1 implements java.util.Iterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.ScriptRuntime$1
super_class: java.lang.Object
{
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int val$length;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$array;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
iload 1
putfield jdk.nashorn.internal.runtime.ScriptRuntime$1.val$length:I
aload 0
aload 2
putfield jdk.nashorn.internal.runtime.ScriptRuntime$1.val$array:Ljava/lang/Object;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.nashorn.internal.runtime.ScriptRuntime$1.index:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$1;
MethodParameters:
Name Flags
val$length final
val$array final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.index:I
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.val$length:I
if_icmpge 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/ScriptRuntime$1;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.index:I
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.val$length:I
if_icmplt 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.val$array:Ljava/lang/Object;
aload 0
dup
getfield jdk.nashorn.internal.runtime.ScriptRuntime$1.index:I
dup_x1
iconst_1
iadd
putfield jdk.nashorn.internal.runtime.ScriptRuntime$1.index:I
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$1;
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/ScriptRuntime$1;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/Object;>;
SourceFile: "ScriptRuntime.java"
EnclosingMethod: jdk.nashorn.internal.runtime.ScriptRuntime.iteratorForJavaArrayOrList:(Ljava/lang/Object;)Ljava/util/Iterator;
NestHost: jdk.nashorn.internal.runtime.ScriptRuntime
InnerClasses:
jdk.nashorn.internal.runtime.ScriptRuntime$1