public class org.jruby.ast.DefsNode extends org.jruby.ast.MethodDefNode implements org.jruby.ast.types.INameNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.DefsNode
super_class: org.jruby.ast.MethodDefNode
{
private final org.jruby.ast.Node receiverNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/ast/DefsNode;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.ast.DefsNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.Node, org.jruby.RubySymbol, org.jruby.ast.ArgsNode, org.jruby.parser.StaticScope, org.jruby.ast.Node, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/Node;Lorg/jruby/RubySymbol;Lorg/jruby/ast/ArgsNode;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 3
aload 4
aload 5
aload 6
iload 7
invokespecial org.jruby.ast.MethodDefNode.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/RubySymbol;Lorg/jruby/ast/ArgsNode;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;I)V
1: getstatic org.jruby.ast.DefsNode.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
ldc "receiverNode is not null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: org.jruby.ast.DefsNode org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node org.jruby.RubySymbol org.jruby.ast.ArgsNode org.jruby.parser.StaticScope org.jruby.ast.Node int
StackMap stack:
aload 0
aload 2
putfield org.jruby.ast.DefsNode.receiverNode:Lorg/jruby/ast/Node;
3: return
end local 7 end local 6 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 4 0 this Lorg/jruby/ast/DefsNode;
0 4 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 4 2 receiverNode Lorg/jruby/ast/Node;
0 4 3 name Lorg/jruby/RubySymbol;
0 4 4 argsNode Lorg/jruby/ast/ArgsNode;
0 4 5 scope Lorg/jruby/parser/StaticScope;
0 4 6 bodyNode Lorg/jruby/ast/Node;
0 4 7 endLine I
MethodParameters:
Name Flags
position
receiverNode
name
argsNode
scope
bodyNode
endLine
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.DEFSNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefsNode;
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.visitDefsNode:(Lorg/jruby/ast/DefsNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefsNode;
0 1 1 iVisitor Lorg/jruby/ast/visitor/NodeVisitor<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/ast/visitor/NodeVisitor<TT;>;)TT;
MethodParameters:
Name Flags
iVisitor
public org.jruby.ast.Node getReceiverNode();
descriptor: ()Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.DefsNode.receiverNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefsNode;
public java.util.List<org.jruby.ast.Node> childNodes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.DefsNode.receiverNode:Lorg/jruby/ast/Node;
aload 0
getfield org.jruby.ast.DefsNode.argsNode:Lorg/jruby/ast/ArgsNode;
aload 0
getfield org.jruby.ast.DefsNode.bodyNode:Lorg/jruby/ast/Node;
invokestatic org.jruby.ast.Node.createList:(Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/DefsNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
}
SourceFile: "DefsNode.java"