class jdk.nashorn.internal.ir.LexicalContext$NodeIterator<T extends jdk.nashorn.internal.ir.LexicalContextNode> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.ir.LexicalContext$NodeIterator
super_class: java.lang.Object
{
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private T next;
descriptor: Ljdk/nashorn/internal/ir/LexicalContextNode;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
private final java.lang.Class<T> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
private jdk.nashorn.internal.ir.LexicalContextNode until;
descriptor: Ljdk/nashorn/internal/ir/LexicalContextNode;
flags: (0x0002) ACC_PRIVATE
final jdk.nashorn.internal.ir.LexicalContext this$0;
descriptor: Ljdk/nashorn/internal/ir/LexicalContext;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.Class<T>);
descriptor: (Ljdk/nashorn/internal/ir/LexicalContext;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial jdk.nashorn.internal.ir.LexicalContext$NodeIterator.<init>:(Ljdk/nashorn/internal/ir/LexicalContext;Ljava/lang/Class;Ljdk/nashorn/internal/ir/LexicalContextNode;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
0 2 2 clazz Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
this$0 final
clazz final
void <init>(java.lang.Class<T>, jdk.nashorn.internal.ir.LexicalContextNode);
descriptor: (Ljdk/nashorn/internal/ir/LexicalContext;Ljava/lang/Class;Ljdk/nashorn/internal/ir/LexicalContextNode;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.this$0:Ljdk/nashorn/internal/ir/LexicalContext;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.nashorn.internal.ir.LexicalContext.sp:I
iconst_1
isub
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.index:I
2: aload 0
aload 2
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.clazz:Ljava/lang/Class;
3: aload 0
aload 3
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.until:Ljdk/nashorn/internal/ir/LexicalContextNode;
4: aload 0
aload 0
invokevirtual jdk.nashorn.internal.ir.LexicalContext$NodeIterator.findNext:()Ljdk/nashorn/internal/ir/LexicalContextNode;
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.next:Ljdk/nashorn/internal/ir/LexicalContextNode;
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
0 6 2 clazz Ljava/lang/Class<TT;>;
0 6 3 until Ljdk/nashorn/internal/ir/LexicalContextNode;
Signature: (Ljava/lang/Class<TT;>;Ljdk/nashorn/internal/ir/LexicalContextNode;)V
MethodParameters:
Name Flags
this$0 final
clazz final
until 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.ir.LexicalContext$NodeIterator.next:Ljdk/nashorn/internal/ir/LexicalContextNode;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
public T next();
descriptor: ()Ljdk/nashorn/internal/ir/LexicalContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.next:Ljdk/nashorn/internal/ir/LexicalContextNode;
ifnonnull 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.next:Ljdk/nashorn/internal/ir/LexicalContextNode;
astore 1
start local 1 3: aload 0
aload 0
invokevirtual jdk.nashorn.internal.ir.LexicalContext$NodeIterator.findNext:()Ljdk/nashorn/internal/ir/LexicalContextNode;
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.next:Ljdk/nashorn/internal/ir/LexicalContextNode;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
3 5 1 lnext TT;
Signature: ()TT;
private T findNext();
descriptor: ()Ljdk/nashorn/internal/ir/LexicalContextNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.index:I
istore 1
start local 1 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.this$0:Ljdk/nashorn/internal/ir/LexicalContext;
getfield jdk.nashorn.internal.ir.LexicalContext.stack:[Ljdk/nashorn/internal/ir/LexicalContextNode;
iload 1
aaload
astore 2
start local 2 3: aload 2
aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.until:Ljdk/nashorn/internal/ir/LexicalContextNode;
if_acmpne 5
4: aconst_null
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.clazz:Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
6: aload 0
iload 1
iconst_1
isub
putfield jdk.nashorn.internal.ir.LexicalContext$NodeIterator.index:I
7: aload 2
checkcast jdk.nashorn.internal.ir.LexicalContextNode
areturn
end local 2 8: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
9: iload 1
ifge 2
end local 1 10: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
1 10 1 i I
3 8 2 node Ljava/lang/Object;
Signature: ()TT;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/LexicalContext$NodeIterator<TT;>;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.nashorn.internal.ir.LexicalContext$NodeIterator.next:()Ljdk/nashorn/internal/ir/LexicalContextNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T::Ljdk/nashorn/internal/ir/LexicalContextNode;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "LexicalContext.java"
NestHost: jdk.nashorn.internal.ir.LexicalContext
InnerClasses:
private NodeIterator = jdk.nashorn.internal.ir.LexicalContext$NodeIterator of jdk.nashorn.internal.ir.LexicalContext