Clover coverage report - PMD - 3.7 Coverage timestamp: Wed May 31 2006 09:25:59 EDT FRAMES NO FRAMES |
file stats: | LOC: | 27 |  | Methods: | 4
| NCLOC: | 17 |  | Classes: | 1
Source file | Conditionals | Statements | Methods | TOTAL
AbstractNameDeclaration.java | - | 100% | 100% | 100% |

1 |  | /**
2 |  | * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3 |  | */
4 |  | package net.sourceforge.pmd.symboltable;
5 |  |
6 |  | import net.sourceforge.pmd.ast.SimpleNode;
7 |  |
8 |  | public abstract class AbstractNameDeclaration implements NameDeclaration {
9 |  |
10 |  | protected SimpleNode node;
11 |  |
12 | 3346 | public AbstractNameDeclaration(SimpleNode node) {
13 | 3346 | this.node = node;
14 |  | }
15 |  |
16 | 115 | public SimpleNode getNode() {
17 | 115 | return node;
18 |  | }
19 |  |
20 | 7325 | public String getImage() {
21 | 7325 | return node.getImage();
22 |  | }
23 |  |
24 | 31 | public Scope getScope() {
25 | 31 | return node.getScope();
26 |  | }
27 |  | }