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