/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ /* Generated By:JJTree: Do not edit this line. ASTBooleanLiteral.java */ package net.sourceforge.pmd.lang.java.ast; public class ASTBooleanLiteral extends AbstractJavaTypeNode { private boolean isTrue; public ASTBooleanLiteral(int id) { super(id); } public ASTBooleanLiteral(JavaParser p, int id) { super(p, id); } public void setTrue() { isTrue = true; } public boolean isTrue() { return this.isTrue; } /** * Accept the visitor. * */ @Override public Object jjtAccept(JavaParserVisitor visitor, Object data) { return visitor.visit(this, data); } }