public class jdk.nashorn.internal.objects.SetIterator extends jdk.nashorn.internal.objects.AbstractIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.nashorn.internal.objects.SetIterator
super_class: jdk.nashorn.internal.objects.AbstractIterator
{
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private jdk.nashorn.internal.objects.LinkedMap$LinkedMapIterator iterator;
descriptor: Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
flags: (0x0002) ACC_PRIVATE
private final jdk.nashorn.internal.objects.AbstractIterator$IterationKind iterationKind;
descriptor: Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.objects.Global global;
descriptor: Ljdk/nashorn/internal/objects/Global;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.internal.objects.NativeSet, jdk.nashorn.internal.objects.AbstractIterator$IterationKind, jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/NativeSet;Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
invokevirtual jdk.nashorn.internal.objects.Global.getSetIteratorPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.SetIterator.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.objects.AbstractIterator.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeSet.getJavaMap:()Ljdk/nashorn/internal/objects/LinkedMap;
invokevirtual jdk.nashorn.internal.objects.LinkedMap.getIterator:()Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
putfield jdk.nashorn.internal.objects.SetIterator.iterator:Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
2: aload 0
aload 2
putfield jdk.nashorn.internal.objects.SetIterator.iterationKind:Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;
3: aload 0
aload 3
putfield jdk.nashorn.internal.objects.SetIterator.global:Ljdk/nashorn/internal/objects/Global;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/objects/SetIterator;
0 5 1 set Ljdk/nashorn/internal/objects/NativeSet;
0 5 2 iterationKind Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;
0 5 3 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
set final
iterationKind final
global final
public static java.lang.Object next(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.nashorn.internal.objects.SetIterator
ifne 2
1: ldc "not.a.set.iterator"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
checkcast jdk.nashorn.internal.objects.SetIterator
aload 1
invokevirtual jdk.nashorn.internal.objects.SetIterator.next:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/IteratorResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 arg Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function()
MethodParameters:
Name Flags
self final
arg final
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Set Iterator"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/SetIterator;
protected jdk.nashorn.internal.objects.IteratorResult next(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/IteratorResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.objects.SetIterator.iterator:Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
ifnonnull 2
1: aload 0
invokestatic jdk.nashorn.internal.runtime.Undefined.getUndefined:()Ljdk/nashorn/internal/runtime/Undefined;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.global:Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.SetIterator.makeResult:(Ljava/lang/Object;Ljava/lang/Boolean;Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/IteratorResult;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.iterator:Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
invokevirtual jdk.nashorn.internal.objects.LinkedMap$LinkedMapIterator.next:()Ljdk/nashorn/internal/objects/LinkedMap$Node;
astore 2
start local 2 3: aload 2
ifnonnull 6
4: aload 0
aconst_null
putfield jdk.nashorn.internal.objects.SetIterator.iterator:Ljdk/nashorn/internal/objects/LinkedMap$LinkedMapIterator;
5: aload 0
invokestatic jdk.nashorn.internal.runtime.Undefined.getUndefined:()Ljdk/nashorn/internal/runtime/Undefined;
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.global:Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.SetIterator.makeResult:(Ljava/lang/Object;Ljava/lang/Boolean;Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/IteratorResult;
areturn
6: StackMap locals: jdk.nashorn.internal.objects.LinkedMap$Node
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.iterationKind:Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;
getstatic jdk.nashorn.internal.objects.AbstractIterator$IterationKind.KEY_VALUE:Ljdk/nashorn/internal/objects/AbstractIterator$IterationKind;
if_acmpne 9
7: new jdk.nashorn.internal.objects.NativeArray
dup
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual jdk.nashorn.internal.objects.LinkedMap$Node.getKey:()Ljava/lang/Object;
aastore
dup
iconst_1
aload 2
invokevirtual jdk.nashorn.internal.objects.LinkedMap$Node.getKey:()Ljava/lang/Object;
aastore
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([Ljava/lang/Object;)V
astore 3
start local 3 8: aload 0
aload 3
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.global:Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.SetIterator.makeResult:(Ljava/lang/Object;Ljava/lang/Boolean;Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/IteratorResult;
areturn
end local 3 9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.nashorn.internal.objects.LinkedMap$Node.getKey:()Ljava/lang/Object;
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 0
getfield jdk.nashorn.internal.objects.SetIterator.global:Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.SetIterator.makeResult:(Ljava/lang/Object;Ljava/lang/Boolean;Ljdk/nashorn/internal/objects/Global;)Ljdk/nashorn/internal/objects/IteratorResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/objects/SetIterator;
0 10 1 arg Ljava/lang/Object;
3 10 2 node Ljdk/nashorn/internal/objects/LinkedMap$Node;
8 9 3 array Ljdk/nashorn/internal/objects/NativeArray;
MethodParameters:
Name Flags
arg final
}
SourceFile: "SetIterator.java"
InnerClasses:
final IterationKind = jdk.nashorn.internal.objects.AbstractIterator$IterationKind of jdk.nashorn.internal.objects.AbstractIterator
LinkedMapIterator = jdk.nashorn.internal.objects.LinkedMap$LinkedMapIterator of jdk.nashorn.internal.objects.LinkedMap
Node = jdk.nashorn.internal.objects.LinkedMap$Node of jdk.nashorn.internal.objects.LinkedMap
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "SetIterator")