1 /* Generated By:JJTree: Do not edit this line. ASTMethodDeclarator.java */ 2 3 package net.sourceforge.pmd.ast; 4 5 6 7 public class ASTMethodDeclarator extends SimpleNode { 8 public ASTMethodDeclarator(int id) { 9 super(id); 10 } 11 12 public ASTMethodDeclarator(JavaParser p, int id) { 13 super(p, id); 14 } 15 16 public int getParameterCount() { 17 return this.jjtGetChild(0).jjtGetNumChildren(); 18 } 19 20 /*** 21 * Accept the visitor. * 22 */ 23 public Object jjtAccept(JavaParserVisitor visitor, Object data) { 24 return visitor.visit(this, data); 25 } 26 }