Clover coverage report - PMD - 3.9 Coverage timestamp: Tue Dec 19 2006 09:38:44 EST FRAMES NO FRAMES |
file stats: | LOC: | 35 |  | Methods: | 4
| NCLOC: | 24 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
ASTTypeDeclaration.java | 83.3% | 88.9% | 75% | 84.2% |

1 |  | /* Generated By:JJTree: Do not edit this line. ASTTypeDeclaration.java */
2 |  |
3 |  | package net.sourceforge.pmd.ast;
4 |  |
5 |  | import net.sourceforge.pmd.Rule;
6 |  |
7 |  | public class ASTTypeDeclaration extends SimpleJavaNode implements CanSuppressWarnings {
8 | 0 | public ASTTypeDeclaration(int id) {
9 | 0 | super(id);
10 |  | }
11 |  |
12 | 1416 | public ASTTypeDeclaration(JavaParser p, int id) {
13 | 1416 | super(p, id);
14 |  | }
15 |  |
16 |  |
17 | 619 | public boolean hasSuppressWarningsAnnotationFor(Rule rule) {
18 | 619 | for (int i = 0; i < jjtGetNumChildren(); i++) {
19 | 619 | if (jjtGetChild(i) instanceof ASTAnnotation) {
20 | 4 | ASTAnnotation a = (ASTAnnotation) jjtGetChild(i);
21 | 4 | if (a.suppresses(rule)) {
22 | 4 | return true;
23 |  | }
24 |  | }
25 |  | }
26 | 615 | return false;
27 |  | }
28 |  |
29 |  | /**
30 |  | * Accept the visitor. *
31 |  | */
32 | 4011 | public Object jjtAccept(JavaParserVisitor visitor, Object data) {
33 | 4011 | return visitor.visit(this, data);
34 |  | }
35 |  | }