class jdk.nashorn.internal.runtime.ScriptRuntime$2 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$2
super_class: java.lang.Object
{
private java.util.Iterator<?> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<*>;
void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
putfield jdk.nashorn.internal.runtime.ScriptRuntime$2.iter:Ljava/util/Iterator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$2;
MethodParameters:
Name Flags
val$obj final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$2.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$2;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$2.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 1
start local 1 1: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aastore
dup
iconst_1
aload 1
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
aastore
astore 2
start local 2 2: aconst_null
aload 2
invokestatic jdk.nashorn.internal.objects.NativeJava.from:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeArray;
astore 3
start local 3 3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$2;
1 4 1 next Ljava/util/Map$Entry<**>;
2 4 2 keyvalue [Ljava/lang/Object;
3 4 3 array Ljdk/nashorn/internal/objects/NativeArray;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptRuntime$2.iter:Ljava/util/Iterator;
invokeinterface java.util.Iterator.remove:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptRuntime$2;
}
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:
public abstract Entry = java.util.Map$Entry of java.util.Map
jdk.nashorn.internal.runtime.ScriptRuntime$2