Clover Coverage Report - PMD-3.8
Coverage timestamp: Sat May 5 2007 15:33:30 EST
8   38   1   1.33
2   24   0.75   6
6     1  
1    
 
  ASTBooleanLiteral       Line # 5 8 1 50% 0.5
 
  (28)
 
1    /* Generated By:JJTree: Do not edit this line. ASTBooleanLiteral.java */
2   
3    package net.sourceforge.pmd.ast;
4   
 
5    public class ASTBooleanLiteral extends SimpleJavaNode {
 
6  0 toggle public ASTBooleanLiteral(int id) {
7  0 super(id);
8    }
9   
 
10  109 toggle public ASTBooleanLiteral(JavaParser p, int id) {
11  109 super(p, id);
12    }
13   
14    private boolean isTrue;
15   
 
16  80 toggle public void setTrue() {
17  80 isTrue = true;
18    }
19   
 
20  2 toggle public boolean isTrue() {
21  2 return this.isTrue;
22    }
23   
24   
25    /**
26    * Accept the visitor. *
27    */
 
28  273 toggle public Object jjtAccept(JavaParserVisitor visitor, Object data) {
29  273 return visitor.visit(this, data);
30    }
31   
 
32  0 toggle public void dump(String prefix) {
33  0 String out = isTrue ? "true" : "false";
34  0 System.out.println(toString(prefix) + ":" + out);
35  0 dumpChildren(prefix);
36    }
37   
38    }