View Javadoc
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. ASTArguments.java */
5   
6   package net.sourceforge.pmd.lang.java.ast;
7   
8   public class ASTArguments extends AbstractJavaNode {
9       public ASTArguments(int id) {
10          super(id);
11      }
12  
13      public ASTArguments(JavaParser p, int id) {
14          super(p, id);
15      }
16  
17  
18      public int getArgumentCount() {
19          if (this.jjtGetNumChildren() == 0) {
20              return 0;
21          }
22          return this.jjtGetChild(0).jjtGetNumChildren();
23      }
24  
25      /**
26       * Accept the visitor. *
27       */
28      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
29          return visitor.visit(this, data);
30      }
31  }