01: /* Generated By:JJTree: Do not edit this line. ASTMethodDeclarator.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTMethodDeclarator extends SimpleJavaNode {
06: public ASTMethodDeclarator(int id) {
07: super (id);
08: }
09:
10: public ASTMethodDeclarator(JavaParser p, int id) {
11: super (p, id);
12: }
13:
14: public int getParameterCount() {
15: return this .jjtGetChild(0).jjtGetNumChildren();
16: }
17:
18: /**
19: * Accept the visitor. *
20: */
21: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
22: return visitor.visit(this, data);
23: }
24: }
|