View Javadoc

1   /* Generated By:JJTree: Do not edit this line. ASTMethodDeclarator.java */
2   
3   package net.sourceforge.pmd.ast;
4   
5   public class ASTMethodDeclarator extends SimpleNode {
6       public ASTMethodDeclarator(int id) {
7           super(id);
8       }
9   
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      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
21          return visitor.visit(this, data);
22      }
23  
24      public void dump(String prefix) {
25          System.out.println(toString(prefix) + ":" + getImage());
26          dumpChildren(prefix);
27      }
28  }