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