KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > ast > ASTSwitchLabel


1 /* Generated By:JJTree: Do not edit this line. ASTSwitchLabel.java */
2
3 package net.sourceforge.pmd.ast;
4
5 public class ASTSwitchLabel extends SimpleJavaNode {
6     public ASTSwitchLabel(int id) {
7         super(id);
8     }
9
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     /**
26      * Accept the visitor. *
27      */

28     public Object JavaDoc jjtAccept(JavaParserVisitor visitor, Object JavaDoc data) {
29         return visitor.visit(this, data);
30     }
31 }
32
Popular Tags