KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > symboltable > ClassNameDeclaration


1 package net.sourceforge.pmd.symboltable;
2
3 import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration;
4
5 public class ClassNameDeclaration extends AbstractNameDeclaration {
6
7     public ClassNameDeclaration(ASTClassOrInterfaceDeclaration node) {
8         super(node);
9     }
10
11     public String JavaDoc toString() {
12         return "Class " + node.getImage();
13     }
14
15 }
16
Popular Tags