class jdk.nashorn.internal.runtime.ScriptRuntime$3 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$3
super_class: java.lang.Object
{
private java.lang.Object nextResult;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final jdk.nashorn.internal.runtime.linker.InvokeByName val$nextInvoker;
descriptor: Ljdk/nashorn/internal/runtime/linker/InvokeByName;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Object val$iterator;
descriptor: Ljava/lang/Object;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.invoke.MethodHandle val$doneInvoker;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.invoke.MethodHandle val$valueInvoker;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.nashorn.internal.runtime.linker.InvokeByName, java.lang.Object, java.lang.invoke.MethodHandle, java.lang.invoke.MethodHandle);
descriptor: (Ljdk/nashorn/internal/runtime/linker/InvokeByName;Ljava/lang/Object;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$nextInvoker:Ljdk/nashorn/internal/runtime/linker/InvokeByName;
aload 0
aload 2
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$iterator:Ljava/lang/Object;
aload 0
aload 3
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$doneInvoker:Ljava/lang/invoke/MethodHandle;
aload 0
aload 4
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$valueInvoker:Ljava/lang/invoke/MethodHandle;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:()Ljava/lang/Object;
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$3;
MethodParameters:
Name Flags
val$nextInvoker final
val$iterator final
val$doneInvoker final
val$valueInvoker final
private java.lang.Object nextResult();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$nextInvoker:Ljdk/nashorn/internal/runtime/linker/InvokeByName;
invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getGetter:()Ljava/lang/invoke/MethodHandle;
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$iterator:Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isCallable:(Ljava/lang/Object;)Z
ifeq 8
2: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$nextInvoker:Ljdk/nashorn/internal/runtime/linker/InvokeByName;
invokevirtual jdk.nashorn.internal.runtime.linker.InvokeByName.getInvoker:()Ljava/lang/invoke/MethodHandle;
aload 1
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$iterator:Ljava/lang/Object;
aconst_null
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 5: aload 1
athrow
end local 1 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 7: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$3;
1 4 1 next Ljava/lang/Object;
5 6 1 r Ljava/lang/Throwable;
7 8 1 t Ljava/lang/Throwable;
Exception table:
from to target type
0 3 4 Class java.lang.RuntimeException
0 3 4 Class java.lang.Error
0 3 6 Class java.lang.Throwable
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$doneInvoker:Ljava/lang/invoke/MethodHandle;
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;)Ljava/lang/Object;
astore 1
start local 1 3: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toBoolean:(Ljava/lang/Object;)Z
ifeq 4
iconst_0
goto 5
StackMap locals: java.lang.Object
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: ireturn
end local 1 6: StackMap locals: jdk.nashorn.internal.runtime.ScriptRuntime$3
StackMap stack: java.lang.Throwable
astore 1
start local 1 7: aload 1
athrow
end local 1 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 9: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$3;
3 6 1 done Ljava/lang/Object;
7 8 1 r Ljava/lang/Throwable;
9 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
2 5 6 Class java.lang.RuntimeException
2 5 6 Class java.lang.Error
2 5 8 Class java.lang.Throwable
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
ifnonnull 2
1: invokestatic jdk.nashorn.internal.runtime.Undefined.getUndefined:()Ljdk/nashorn/internal/runtime/Undefined;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
astore 1
start local 1 3: aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:()Ljava/lang/Object;
putfield jdk.nashorn.internal.runtime.ScriptRuntime$3.nextResult:Ljava/lang/Object;
4: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$3.val$valueInvoker:Ljava/lang/invoke/MethodHandle;
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;)Ljava/lang/Object;
5: areturn
end local 1 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 7: aload 1
athrow
end local 1 8: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 9: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$3;
3 6 1 result Ljava/lang/Object;
7 8 1 r Ljava/lang/Throwable;
9 10 1 t Ljava/lang/Throwable;
Exception table:
from to target type
2 5 6 Class java.lang.RuntimeException
2 5 6 Class java.lang.Error
2 5 8 Class java.lang.Throwable
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$3;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/Object;>;
SourceFile: "ScriptRuntime.java"
EnclosingMethod: jdk.nashorn.internal.runtime.ScriptRuntime.toES6Iterator:(Ljava/lang/Object;)Ljava/util/Iterator;
NestHost: jdk.nashorn.internal.runtime.ScriptRuntime
InnerClasses:
jdk.nashorn.internal.runtime.ScriptRuntime$3