01 /* Generated By:JJTree: Do not edit this line. ASTArguments.java */
02
03 package net.sourceforge.pmd.lang.java.ast;
04
05 public class ASTArguments extends AbstractJavaNode {
06 public ASTArguments(int id) {
07 super(id);
08 }
09
10 public ASTArguments(JavaParser p, int id) {
11 super(p, id);
12 }
13
14
15 public int getArgumentCount() {
16 if (this.jjtGetNumChildren() == 0) {
17 return 0;
18 }
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 }
|