class jdk.nashorn.internal.parser.ParserContext$NodeIterator<T extends jdk.nashorn.internal.parser.ParserContextNode> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.parser.ParserContext$NodeIterator
super_class: java.lang.Object
{
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private T next;
descriptor: Ljdk/nashorn/internal/parser/ParserContextNode;
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.parser.ParserContextNode until;
descriptor: Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0002) ACC_PRIVATE
final jdk.nashorn.internal.parser.ParserContext this$0;
descriptor: Ljdk/nashorn/internal/parser/ParserContext;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.Class<T>);
descriptor: (Ljdk/nashorn/internal/parser/ParserContext;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.parser.ParserContext$NodeIterator.<init>:(Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)V
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/parser/ParserContext$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.parser.ParserContextNode);
descriptor: (Ljdk/nashorn/internal/parser/ParserContext;Ljava/lang/Class;Ljdk/nashorn/internal/parser/ParserContextNode;)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.parser.ParserContext$NodeIterator.this$0:Ljdk/nashorn/internal/parser/ParserContext;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.nashorn.internal.parser.ParserContext.sp:I
iconst_1
isub
putfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.index:I
2: aload 0
aload 2
putfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.clazz:Ljava/lang/Class;
3: aload 0
aload 3
putfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.until:Ljdk/nashorn/internal/parser/ParserContextNode;
4: aload 0
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.findNext:()Ljdk/nashorn/internal/parser/ParserContextNode;
putfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:Ljdk/nashorn/internal/parser/ParserContextNode;
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/parser/ParserContext$NodeIterator<TT;>;
0 6 2 clazz Ljava/lang/Class<TT;>;
0 6 3 until Ljdk/nashorn/internal/parser/ParserContextNode;
Signature: (Ljava/lang/Class<TT;>;Ljdk/nashorn/internal/parser/ParserContextNode;)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.parser.ParserContext$NodeIterator.next:Ljdk/nashorn/internal/parser/ParserContextNode;
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/parser/ParserContext$NodeIterator<TT;>;
public T next();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:Ljdk/nashorn/internal/parser/ParserContextNode;
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.parser.ParserContext$NodeIterator.next:Ljdk/nashorn/internal/parser/ParserContextNode;
astore 1
start local 1 3: aload 0
aload 0
invokevirtual jdk.nashorn.internal.parser.ParserContext$NodeIterator.findNext:()Ljdk/nashorn/internal/parser/ParserContextNode;
putfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.next:Ljdk/nashorn/internal/parser/ParserContextNode;
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/parser/ParserContext$NodeIterator<TT;>;
3 5 1 lnext TT;
Signature: ()TT;
private T findNext();
descriptor: ()Ljdk/nashorn/internal/parser/ParserContextNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.index:I
istore 1
start local 1 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.this$0:Ljdk/nashorn/internal/parser/ParserContext;
getfield jdk.nashorn.internal.parser.ParserContext.stack:[Ljdk/nashorn/internal/parser/ParserContextNode;
iload 1
aaload
astore 2
start local 2 3: aload 2
aload 0
getfield jdk.nashorn.internal.parser.ParserContext$NodeIterator.until:Ljdk/nashorn/internal/parser/ParserContextNode;
if_acmpne 5
4: aconst_null
areturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.nashorn.internal.parser.ParserContext$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.parser.ParserContext$NodeIterator.index:I
7: aload 2
checkcast jdk.nashorn.internal.parser.ParserContextNode
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/parser/ParserContext$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/parser/ParserContext$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.parser.ParserContext$NodeIterator.next:()Ljdk/nashorn/internal/parser/ParserContextNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T::Ljdk/nashorn/internal/parser/ParserContextNode;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "ParserContext.java"
NestHost: jdk.nashorn.internal.parser.ParserContext
InnerClasses:
private NodeIterator = jdk.nashorn.internal.parser.ParserContext$NodeIterator of jdk.nashorn.internal.parser.ParserContext