public abstract class jdk.nashorn.internal.runtime.arrays.IteratorAction<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.runtime.arrays.IteratorAction
super_class: java.lang.Object
{
protected final java.lang.Object self;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.lang.Object thisArg;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected final java.lang.Object callbackfn;
descriptor: Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected T result;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
protected long index;
descriptor: J
flags: (0x0004) ACC_PROTECTED
private final jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object> iter;
descriptor: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
public void <init>(, , , );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 1
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.arrayLikeIterator:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokespecial jdk.nashorn.internal.runtime.arrays.IteratorAction.<init>:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/arrays/IteratorAction<TT;>;
0 2 1 self Ljava/lang/Object;
0 2 2 callbackfn Ljava/lang/Object;
0 2 3 thisArg Ljava/lang/Object;
0 2 4 initialResult TT;
Signature: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;TT;)V
MethodParameters:
Name Flags
self final
callbackfn final
thisArg final
initialResult final
public void <init>(, , , T, jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object>);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.self:Ljava/lang/Object;
2: aload 0
aload 2
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.callbackfn:Ljava/lang/Object;
3: aload 0
aload 4
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.result:Ljava/lang/Object;
4: aload 0
aload 5
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
5: aload 0
aload 3
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.thisArg:Ljava/lang/Object;
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/arrays/IteratorAction<TT;>;
0 7 1 self Ljava/lang/Object;
0 7 2 callbackfn Ljava/lang/Object;
0 7 3 thisArg Ljava/lang/Object;
0 7 4 initialResult TT;
0 7 5 iter Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
Signature: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;TT;Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
self final
callbackfn final
thisArg final
initialResult final
iter final
protected void applyLoopBegin(jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator<java.lang.Object>);
descriptor: (Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/arrays/IteratorAction<TT;>;
0 1 1 iterator Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;
Signature: (Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator<Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
iterator final
public final T apply();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.callbackfn:Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isStrictCallable:(Ljava/lang/Object;)Z
istore 1
start local 1 1: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.thisArg:Ljava/lang/Object;
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 2
iload 1
ifne 2
invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
goto 3
StackMap locals: jdk.nashorn.internal.runtime.arrays.IteratorAction int
StackMap stack: jdk.nashorn.internal.runtime.arrays.IteratorAction
2: aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.thisArg:Ljava/lang/Object;
StackMap locals: jdk.nashorn.internal.runtime.arrays.IteratorAction int
StackMap stack: jdk.nashorn.internal.runtime.arrays.IteratorAction java.lang.Object
3: putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.thisArg:Ljava/lang/Object;
4: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokevirtual jdk.nashorn.internal.runtime.arrays.IteratorAction.applyLoopBegin:(Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;)V
5: aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.isReverse:()Z
istore 2
start local 2 6: goto 18
7: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.next:()Ljava/lang/Object;
astore 3
start local 3 8: aload 0
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.nextIndex:()J
iload 2
ifeq 9
iconst_1
goto 10
StackMap locals: jdk.nashorn.internal.runtime.arrays.IteratorAction int int java.lang.Object
StackMap stack: jdk.nashorn.internal.runtime.arrays.IteratorAction long
9: iconst_m1
StackMap locals: jdk.nashorn.internal.runtime.arrays.IteratorAction int int java.lang.Object
StackMap stack: jdk.nashorn.internal.runtime.arrays.IteratorAction long int
10: i2l
ladd
putfield jdk.nashorn.internal.runtime.arrays.IteratorAction.index:J
11: aload 0
aload 3
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.index:J
l2d
invokevirtual jdk.nashorn.internal.runtime.arrays.IteratorAction.forEach:(Ljava/lang/Object;D)Z
ifne 18
12: aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.result:Ljava/lang/Object;
13: areturn
14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 15: aload 4
athrow
end local 4 16: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
start local 4 17: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 18: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.iter:Ljdk/nashorn/internal/runtime/arrays/ArrayLikeIterator;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayLikeIterator.hasNext:()Z
ifne 7
19: aload 0
getfield jdk.nashorn.internal.runtime.arrays.IteratorAction.result:Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/nashorn/internal/runtime/arrays/IteratorAction<TT;>;
1 20 1 strict Z
6 20 2 reverse Z
8 18 3 val Ljava/lang/Object;
15 16 4 e Ljava/lang/Throwable;
17 18 4 t Ljava/lang/Throwable;
Exception table:
from to target type
11 13 14 Class java.lang.RuntimeException
11 13 14 Class java.lang.Error
11 13 16 Class java.lang.Throwable
Signature: ()TT;
protected abstract boolean forEach(java.lang.Object, double);
descriptor: (Ljava/lang/Object;D)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
val final
i final
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "IteratorAction.java"