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