View Javadoc

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 toString() {
12          return "Class " + node.getImage();
13      }
14  
15  }