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