View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd.lang.plsql.symboltable;
5   
6   import net.sourceforge.pmd.lang.plsql.ast.ASTPackageBody;
7   import net.sourceforge.pmd.lang.plsql.ast.ASTPackageSpecification;
8   import net.sourceforge.pmd.lang.plsql.ast.ASTQualifiedName;
9   import net.sourceforge.pmd.lang.plsql.ast.ASTTriggerUnit;
10  import net.sourceforge.pmd.lang.plsql.ast.ASTTypeSpecification;
11  import net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration;
12  
13  public class ClassNameDeclaration extends AbstractNameDeclaration {
14  
15      public ClassNameDeclaration(ASTQualifiedName node) {
16          super(node);
17      }
18  
19      public ClassNameDeclaration(ASTPackageSpecification node) {
20          super(node);
21      }
22  
23      public ClassNameDeclaration(ASTPackageBody node) {
24          super(node);
25      }
26  
27      public ClassNameDeclaration(ASTTriggerUnit node) {
28          super(node);
29      }
30  
31      public ClassNameDeclaration(ASTTypeSpecification node) {
32          super(node);
33      }
34  
35      @Override
36      public String toString() {
37          return "Object " + node.getImage();
38      }
39  
40  }