class jdk.nashorn.internal.runtime.ScriptObject$KeyIterator extends jdk.nashorn.internal.runtime.ScriptObject$ScriptObjectIterator<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.ScriptObject$KeyIterator
super_class: jdk.nashorn.internal.runtime.ScriptObject$ScriptObjectIterator
{
void <init>(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.ScriptObject$ScriptObjectIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptObject$KeyIterator;
0 2 1 object Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
object final
protected void init();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 1
start local 1 1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 2: aload 0
getfield jdk.nashorn.internal.runtime.ScriptObject$KeyIterator.object:Ljdk/nashorn/internal/runtime/ScriptObject;
astore 3
start local 3 3: goto 6
4: StackMap locals: java.util.Set java.util.Set jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
aload 1
aload 3
ldc Ljava/lang/String;
iconst_0
aload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getOwnKeys:(Ljava/lang/Class;ZLjava/util/Set;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
5: aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getProto:()Ljdk/nashorn/internal/runtime/ScriptObject;
astore 3
StackMap locals:
StackMap stack:
6: aload 3
ifnonnull 4
end local 3 7: aload 0
aload 1
iconst_0
anewarray java.lang.String
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield jdk.nashorn.internal.runtime.ScriptObject$KeyIterator.values:[Ljava/lang/Object;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nashorn/internal/runtime/ScriptObject$KeyIterator;
1 9 1 keys Ljava/util/Set<Ljava/lang/String;>;
2 9 2 nonEnumerable Ljava/util/Set<Ljava/lang/String;>;
3 7 3 self Ljdk/nashorn/internal/runtime/ScriptObject;
}
Signature: Ljdk/nashorn/internal/runtime/ScriptObject$ScriptObjectIterator<Ljava/lang/String;>;
SourceFile: "ScriptObject.java"
NestHost: jdk.nashorn.internal.runtime.ScriptObject
InnerClasses:
private KeyIterator = jdk.nashorn.internal.runtime.ScriptObject$KeyIterator of jdk.nashorn.internal.runtime.ScriptObject
private abstract ScriptObjectIterator = jdk.nashorn.internal.runtime.ScriptObject$ScriptObjectIterator of jdk.nashorn.internal.runtime.ScriptObject