Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 38 |  | Methods: | 6
| NCLOC: | 24 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
ASTBooleanLiteral.java | 0% | 50% | 66.7% | 50% |

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 | public ASTBooleanLiteral(int id) {
7 | 0 | super(id);
8 |  | }
9 |  |
10 | 138 | public ASTBooleanLiteral(JavaParser p, int id) {
11 | 138 | super(p, id);
12 |  | }
13 |  |
14 |  | private boolean isTrue;
15 |  |
16 | 97 | public void setTrue() {
17 | 97 | isTrue = true;
18 |  | }
19 |  |
20 | 2 | public boolean isTrue() {
21 | 2 | return this.isTrue;
22 |  | }
23 |  |
24 |  |
25 |  | /**
26 |  | * Accept the visitor. *
27 |  | */
28 | 402 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
29 | 402 | return visitor.visit(this, data);
30 |  | }
31 |  |
32 | 0 | 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 |  | }