01: /* Generated By:JJTree: Do not edit this line. ASTSwitchLabel.java */
02:
03: package net.sourceforge.pmd.ast;
04:
05: public class ASTSwitchLabel extends SimpleJavaNode {
06: public ASTSwitchLabel(int id) {
07: super (id);
08: }
09:
10: public ASTSwitchLabel(JavaParser p, int id) {
11: super (p, id);
12: }
13:
14: private boolean isDefault;
15:
16: public void setDefault() {
17: isDefault = true;
18: }
19:
20: public boolean isDefault() {
21: return isDefault;
22: }
23:
24: /**
25: * Accept the visitor. *
26: */
27: public Object jjtAccept(JavaParserVisitor visitor, Object data) {
28: return visitor.visit(this, data);
29: }
30: }
|