View Javadoc
1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   /* Generated By:JJTree: Do not edit this line. ASTBooleanLiteral.java */
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       * Accept the visitor. *
30       */
31      public Object jjtAccept(JavaParserVisitor visitor, Object data) {
32          return visitor.visit(this, data);
33      }
34  }