01 /* Generated By:JJTree: Do not edit this line. ASTName.java */
02
03 package net.sourceforge.pmd.lang.java.ast;
04
05 import net.sourceforge.pmd.lang.java.symboltable.NameDeclaration;
06
07 public class ASTName extends AbstractJavaTypeNode {
08 public ASTName(int id) {
09 super(id);
10 }
11
12 public ASTName(JavaParser p, int id) {
13 super(p, id);
14 }
15
16 private NameDeclaration nd;
17
18 public void setNameDeclaration(NameDeclaration nd) {
19 this.nd = nd;
20 }
21
22 public NameDeclaration getNameDeclaration() {
23 return this.nd;
24 }
25
26
27 /**
28 * Accept the visitor. *
29 */
30 public Object jjtAccept(JavaParserVisitor visitor, Object data) {
31 return visitor.visit(this, data);
32 }
33 }
|