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