|
1 |
| |
|
2 |
| |
|
3 |
| package net.sourceforge.pmd.ast; |
|
4 |
| |
|
5 |
| public class ASTArguments extends SimpleJavaNode { |
|
6 |
0
| public ASTArguments(int id) {
|
|
7 |
0
| super(id);
|
|
8 |
| } |
|
9 |
| |
|
10 |
1248
| public ASTArguments(JavaParser p, int id) {
|
|
11 |
1248
| super(p, id);
|
|
12 |
| } |
|
13 |
| |
|
14 |
| |
|
15 |
1035
| public int getArgumentCount() {
|
|
16 |
1035
| if (this.jjtGetNumChildren() == 0) {
|
|
17 |
423
| return 0;
|
|
18 |
| } |
|
19 |
612
| return this.jjtGetChild(0).jjtGetNumChildren();
|
|
20 |
| } |
|
21 |
| |
|
22 |
| |
|
23 |
| |
|
24 |
| |
|
25 |
3487
| public Object jjtAccept(JavaParserVisitor visitor, Object data) {
|
|
26 |
3487
| return visitor.visit(this, data);
|
|
27 |
| } |
|
28 |
| } |