|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ClassNameDeclaration.java | - | 50% | 50% | 50% |
|
||||||||||||||
| 1 | package net.sourceforge.pmd.symboltable; | |
| 2 | ||
| 3 | import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration; | |
| 4 | ||
| 5 | public class ClassNameDeclaration extends AbstractNameDeclaration { | |
| 6 | ||
| 7 | 1382 | public ClassNameDeclaration(ASTClassOrInterfaceDeclaration node) { |
| 8 | 1382 | super(node); |
| 9 | } | |
| 10 | ||
| 11 | 0 | public String toString() { |
| 12 | 0 | return "Class " + node.getImage(); |
| 13 | } | |
| 14 | ||
| 15 | } |
|
||||||||||