public class org.jruby.ast.ListNode extends org.jruby.ast.Node implements java.lang.Iterable<org.jruby.ast.Node>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.ListNode
super_class: org.jruby.ast.Node
{
private static final org.jruby.ast.Node[] EMPTY;
descriptor: [Lorg/jruby/ast/Node;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int INITIAL_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private org.jruby.ast.Node[] list;
descriptor: [Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.jruby.ast.Node single;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.jruby.ast.Node
putstatic org.jruby.ast.ListNode.EMPTY:[Lorg/jruby/ast/Node;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.Node);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ifnull 1
aload 2
getfield org.jruby.ast.Node.containsVariableAssignment:Z
ifeq 1
iconst_1
goto 2
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
1: iconst_0
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition int
2: invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
3: aload 0
getstatic org.jruby.ast.ListNode.EMPTY:[Lorg/jruby/ast/Node;
putfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
4: aload 0
iconst_0
putfield org.jruby.ast.ListNode.size:I
5: aload 0
aload 2
putfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
6: aload 0
iconst_1
putfield org.jruby.ast.ListNode.size:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ast/ListNode;
0 8 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 8 2 firstNode Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
position
firstNode
public void <init>(org.jruby.lexer.yacc.ISourcePosition);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
1: aload 0
getstatic org.jruby.ast.ListNode.EMPTY:[Lorg/jruby/ast/Node;
putfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
2: aload 0
iconst_0
putfield org.jruby.ast.ListNode.size:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ast/ListNode;
0 4 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
MethodParameters:
Name Flags
position
public org.jruby.ast.NodeType getNodeType();
descriptor: ()Lorg/jruby/ast/NodeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ast.NodeType.LISTNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ListNode;
private org.jruby.ast.Node[] growList(int);
descriptor: (I)[Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
arraylength
iconst_2
imul
istore 2
start local 2 1: aload 0
getfield org.jruby.ast.ListNode.size:I
iload 1
iadd
iload 2
if_icmplt 2
aload 0
getfield org.jruby.ast.ListNode.size:I
iload 1
iadd
i2d
ldc 1.5
dmul
d2i
istore 2
2: StackMap locals: int
StackMap stack:
iload 2
anewarray org.jruby.ast.Node
astore 3
start local 3 3: aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iconst_0
aload 3
iconst_0
aload 0
getfield org.jruby.ast.ListNode.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
aload 3
dup_x1
putfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ast/ListNode;
0 5 1 mustBeDelta I
1 5 2 newSize I
3 5 3 newList [Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
mustBeDelta
protected void addInternal(org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 0
aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
aload 1
invokevirtual org.jruby.ast.ListNode.addToSingle:(Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;)V
3: return
4: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.size:I
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
arraylength
if_icmplt 5
aload 0
iconst_1
invokevirtual org.jruby.ast.ListNode.growList:(I)[Lorg/jruby/ast/Node;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
aload 0
dup
getfield org.jruby.ast.ListNode.size:I
dup_x1
iconst_1
iadd
putfield org.jruby.ast.ListNode.size:I
aload 1
aastore
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ast/ListNode;
0 7 1 node Lorg/jruby/ast/Node;
1 7 2 single Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
node
protected void addAllInternal(org.jruby.ast.ListNode);
descriptor: (Lorg/jruby/ast/ListNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.ast.ListNode.size:I
ifne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 0
aload 3
invokevirtual org.jruby.ast.ListNode.arrayifySingle:(Lorg/jruby/ast/Node;)[Lorg/jruby/ast/Node;
astore 2
start local 2 4: goto 6
end local 2 5: StackMap locals: org.jruby.ast.ListNode org.jruby.ast.ListNode top org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
astore 2
start local 2 6: StackMap locals: org.jruby.ast.ListNode org.jruby.ast.ListNode org.jruby.ast.Node[] org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.size:I
aload 1
invokevirtual org.jruby.ast.ListNode.size:()I
iadd
aload 2
arraylength
if_icmplt 7
aload 0
aload 1
getfield org.jruby.ast.ListNode.size:I
invokevirtual org.jruby.ast.ListNode.growList:(I)[Lorg/jruby/ast/Node;
astore 2
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 4
start local 4 8: aload 4
ifnull 11
9: aload 2
aload 0
dup
getfield org.jruby.ast.ListNode.size:I
dup_x1
iconst_1
iadd
putfield org.jruby.ast.ListNode.size:I
aload 4
aastore
10: return
11: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 1
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iconst_0
aload 2
aload 0
getfield org.jruby.ast.ListNode.size:I
aload 1
getfield org.jruby.ast.ListNode.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 0
dup
getfield org.jruby.ast.ListNode.size:I
aload 1
getfield org.jruby.ast.ListNode.size:I
iadd
putfield org.jruby.ast.ListNode.size:I
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/ast/ListNode;
0 14 1 other Lorg/jruby/ast/ListNode;
4 5 2 list [Lorg/jruby/ast/Node;
6 14 2 list [Lorg/jruby/ast/Node;
2 14 3 single Lorg/jruby/ast/Node;
8 14 4 otherSingle Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
other
private void addToSingle(org.jruby.ast.Node, org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.ast.ListNode.arrayifySingle:(Lorg/jruby/ast/Node;)[Lorg/jruby/ast/Node;
aload 0
dup
getfield org.jruby.ast.ListNode.size:I
dup_x1
iconst_1
iadd
putfield org.jruby.ast.ListNode.size:I
aload 2
aastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/ListNode;
0 2 1 single Lorg/jruby/ast/Node;
0 2 2 node Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
single
node
private org.jruby.ast.Node[] arrayifySingle(org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;)[Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_4
anewarray org.jruby.ast.Node
astore 2
start local 2 1: aload 2
iconst_0
aload 1
aastore
2: aload 0
aload 2
putfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
3: aload 0
aconst_null
putfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ast/ListNode;
0 5 1 single Lorg/jruby/ast/Node;
1 5 2 list [Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
single
public org.jruby.ast.ListNode add(org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;)Lorg/jruby/ast/ListNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
getstatic org.jruby.ast.NilImplicitNode.NIL:Lorg/jruby/ast/NilImplicitNode;
if_acmpne 3
1: StackMap locals:
StackMap stack:
aload 0
getstatic org.jruby.ast.NilImplicitNode.NIL:Lorg/jruby/ast/NilImplicitNode;
invokevirtual org.jruby.ast.ListNode.addInternal:(Lorg/jruby/ast/Node;)V
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
ifeq 4
aload 0
iconst_1
putfield org.jruby.ast.ListNode.containsVariableAssignment:Z
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.ast.ListNode.addInternal:(Lorg/jruby/ast/Node;)V
5: aload 0
invokevirtual org.jruby.ast.ListNode.getPosition:()Lorg/jruby/lexer/yacc/ISourcePosition;
ifnonnull 6
aload 0
aload 1
invokevirtual org.jruby.ast.Node.getPosition:()Lorg/jruby/lexer/yacc/ISourcePosition;
invokevirtual org.jruby.ast.ListNode.setPosition:(Lorg/jruby/lexer/yacc/ISourcePosition;)V
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ast/ListNode;
0 7 1 node Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
node
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ListNode.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ListNode;
public org.jruby.ast.ListNode addAll(org.jruby.ast.ListNode);
descriptor: (Lorg/jruby/ast/ListNode;)Lorg/jruby/ast/ListNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
aload 1
invokevirtual org.jruby.ast.ListNode.size:()I
ifle 4
1: aload 1
invokevirtual org.jruby.ast.ListNode.containsVariableAssignment:()Z
ifeq 2
aload 0
iconst_1
putfield org.jruby.ast.ListNode.containsVariableAssignment:Z
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.ast.ListNode.addAllInternal:(Lorg/jruby/ast/ListNode;)V
3: aload 0
invokevirtual org.jruby.ast.ListNode.getPosition:()Lorg/jruby/lexer/yacc/ISourcePosition;
ifnonnull 4
aload 0
aload 1
invokevirtual org.jruby.ast.ListNode.getPosition:()Lorg/jruby/lexer/yacc/ISourcePosition;
invokevirtual org.jruby.ast.ListNode.setPosition:(Lorg/jruby/lexer/yacc/ISourcePosition;)V
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ast/ListNode;
0 5 1 other Lorg/jruby/ast/ListNode;
MethodParameters:
Name Flags
other
public org.jruby.ast.ListNode addAll(org.jruby.ast.Node[], int, int);
descriptor: ([Lorg/jruby/ast/Node;II)Lorg/jruby/ast/ListNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 4
start local 4 1: aload 4
ifnull 6
2: aload 0
iload 3
iconst_1
iadd
anewarray org.jruby.ast.Node
putfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
3: aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iconst_0
aload 4
aastore
4: aload 0
aconst_null
putfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
5: aload 1
iload 2
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iconst_1
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.size:I
iload 3
iadd
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
arraylength
if_icmpge 8
7: aload 0
iload 3
invokevirtual org.jruby.ast.ListNode.growList:(I)[Lorg/jruby/ast/Node;
pop
8: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 5
iadd
aaload
invokevirtual org.jruby.ast.ListNode.addInternal:(Lorg/jruby/ast/Node;)V
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 3
if_icmplt 10
end local 5 13: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/ast/ListNode;
0 14 1 other [Lorg/jruby/ast/Node;
0 14 2 index I
0 14 3 length I
1 14 4 single Lorg/jruby/ast/Node;
9 13 5 i I
MethodParameters:
Name Flags
other
index
length
public org.jruby.ast.ListNode addAll(org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;)Lorg/jruby/ast/ListNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.ast.ListNode.add:(Lorg/jruby/ast/Node;)Lorg/jruby/ast/ListNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ListNode;
0 1 1 other Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
other
public org.jruby.ast.Node getLast();
descriptor: ()Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ListNode.size:I
istore 1
start local 1 1: iload 1
ifne 2
aconst_null
areturn
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
isub
invokevirtual org.jruby.ast.ListNode.get:(I)Lorg/jruby/ast/Node;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ast/ListNode;
1 3 1 size I
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ListNode.size:I
ifne 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 Lorg/jruby/ast/ListNode;
public org.jruby.ast.Node[] children();
descriptor: ()[Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 1
start local 1 1: aload 1
ifnull 2
iconst_1
anewarray org.jruby.ast.Node
dup
iconst_0
aload 1
aastore
areturn
2: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.size:I
anewarray org.jruby.ast.Node
astore 2
start local 2 3: aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iconst_0
aload 2
iconst_0
aload 0
getfield org.jruby.ast.ListNode.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ast/ListNode;
1 5 1 single Lorg/jruby/ast/Node;
3 5 2 properList [Lorg/jruby/ast/Node;
public java.util.List<org.jruby.ast.Node> childNodes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
2: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 0
invokevirtual org.jruby.ast.ListNode.children:()[Lorg/jruby/ast/Node;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ast/ListNode;
1 3 1 single Lorg/jruby/ast/Node;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public <T> T accept(org.jruby.ast.visitor.NodeVisitor<T>);
descriptor: (Lorg/jruby/ast/visitor/NodeVisitor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.jruby.ast.visitor.NodeVisitor.visitListNode:(Lorg/jruby/ast/ListNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ListNode;
0 1 1 visitor Lorg/jruby/ast/visitor/NodeVisitor<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/ast/visitor/NodeVisitor<TT;>;)TT;
MethodParameters:
Name Flags
visitor
public org.jruby.ast.Node get(int);
descriptor: (I)Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.ast.ListNode.single:Lorg/jruby/ast/Node;
astore 2
start local 2 1: iload 1
ifne 2
aload 2
ifnull 2
aload 2
areturn
2: StackMap locals: org.jruby.ast.Node
StackMap stack:
aload 0
getfield org.jruby.ast.ListNode.list:[Lorg/jruby/ast/Node;
iload 1
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ast/ListNode;
0 3 1 idx I
1 3 2 single Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
idx
public java.util.Iterator<org.jruby.ast.Node> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.jruby.ast.ListNode$1
dup
aload 0
invokespecial org.jruby.ast.ListNode$1.<init>:(Lorg/jruby/ast/ListNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ListNode;
Signature: ()Ljava/util/Iterator<Lorg/jruby/ast/Node;>;
}
Signature: Lorg/jruby/ast/Node;Ljava/lang/Iterable<Lorg/jruby/ast/Node;>;
SourceFile: "ListNode.java"
NestMembers:
org.jruby.ast.ListNode$1
InnerClasses:
org.jruby.ast.ListNode$1