|
1 |
| |
|
2 |
| |
|
3 |
| package net.sourceforge.pmd.ast; |
|
4 |
| |
|
5 |
| public class ASTBlockStatement extends SimpleJavaNode { |
|
6 |
4
| public ASTBlockStatement(int id) {
|
|
7 |
4
| super(id);
|
|
8 |
| } |
|
9 |
| |
|
10 |
2043
| public ASTBlockStatement(JavaParser p, int id) {
|
|
11 |
2043
| super(p, id);
|
|
12 |
| } |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
| |
|
18 |
5966
| public Object jjtAccept(JavaParserVisitor visitor, Object data) {
|
|
19 |
5966
| return visitor.visit(this, data);
|
|
20 |
| } |
|
21 |
| |
|
22 |
| |
|
23 |
| |
|
24 |
| |
|
25 |
| |
|
26 |
| |
|
27 |
| |
|
28 |
13
| public final boolean isAllocation() {
|
|
29 |
13
| return !findChildrenOfType(ASTAllocationExpression.class).isEmpty();
|
|
30 |
| } |
|
31 |
| } |