|
1 |
| |
|
2 |
| |
|
3 |
| package net.sourceforge.pmd.ast; |
|
4 |
| |
|
5 |
| public class ASTBlock extends SimpleJavaNode { |
|
6 |
8
| public ASTBlock(int id) {
|
|
7 |
8
| super(id);
|
|
8 |
| } |
|
9 |
| |
|
10 |
1639
| public ASTBlock(JavaParser p, int id) {
|
|
11 |
1639
| super(p, id);
|
|
12 |
| } |
|
13 |
| |
|
14 |
| |
|
15 |
| |
|
16 |
| |
|
17 |
| |
|
18 |
4674
| public Object jjtAccept(JavaParserVisitor visitor, Object data) {
|
|
19 |
4674
| return visitor.visit(this, data);
|
|
20 |
| } |
|
21 |
| |
|
22 |
| private boolean containsComment; |
|
23 |
| |
|
24 |
7
| public boolean containsComment() {
|
|
25 |
7
| return this.containsComment;
|
|
26 |
| } |
|
27 |
| |
|
28 |
52
| public void setContainsComment() {
|
|
29 |
52
| this.containsComment = true;
|
|
30 |
| } |
|
31 |
| |
|
32 |
| } |