public abstract class org.jruby.ast.MethodDefNode extends org.jruby.ast.Node implements org.jruby.ast.types.INameNode, org.jruby.ast.DefNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ast.MethodDefNode
super_class: org.jruby.ast.Node
{
protected final org.jruby.RubySymbol name;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.ast.ArgsNode argsNode;
descriptor: Lorg/jruby/ast/ArgsNode;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.parser.StaticScope scope;
descriptor: Lorg/jruby/parser/StaticScope;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.ast.Node bodyNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int endLine;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.RubySymbol, org.jruby.ast.ArgsNode, org.jruby.parser.StaticScope, org.jruby.ast.Node, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/RubySymbol;Lorg/jruby/ast/ArgsNode;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 5
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
1: aload 0
aload 2
putfield org.jruby.ast.MethodDefNode.name:Lorg/jruby/RubySymbol;
2: aload 0
aload 3
putfield org.jruby.ast.MethodDefNode.argsNode:Lorg/jruby/ast/ArgsNode;
3: aload 0
aload 4
putfield org.jruby.ast.MethodDefNode.scope:Lorg/jruby/parser/StaticScope;
4: aload 0
aload 5
putfield org.jruby.ast.MethodDefNode.bodyNode:Lorg/jruby/ast/Node;
5: aload 0
iload 6
putfield org.jruby.ast.MethodDefNode.endLine:I
6: return
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 7 0 this Lorg/jruby/ast/MethodDefNode;
0 7 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 7 2 name Lorg/jruby/RubySymbol;
0 7 3 argsNode Lorg/jruby/ast/ArgsNode;
0 7 4 scope Lorg/jruby/parser/StaticScope;
0 7 5 bodyNode Lorg/jruby/ast/Node;
0 7 6 endLine I
MethodParameters:
Name Flags
position
name
argsNode
scope
bodyNode
endLine
public org.jruby.ast.ArgsNode getArgsNode();
descriptor: ()Lorg/jruby/ast/ArgsNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.MethodDefNode.argsNode:Lorg/jruby/ast/ArgsNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/MethodDefNode;
public org.jruby.parser.StaticScope getScope();
descriptor: ()Lorg/jruby/parser/StaticScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.MethodDefNode.scope:Lorg/jruby/parser/StaticScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/MethodDefNode;
public org.jruby.ast.Node getBodyNode();
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.MethodDefNode.bodyNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/MethodDefNode;
public org.jruby.RubySymbol getName();
descriptor: ()Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.MethodDefNode.name:Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/MethodDefNode;
public int getEndLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.MethodDefNode.endLine:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/MethodDefNode;
}
SourceFile: "MethodDefNode.java"