ASTName xref

View Javadoc
1 /* Generated By:JJTree: Do not edit this line. ASTName.java */
2 
3 package net.sourceforge.pmd.ast;
4 
5 import net.sourceforge.pmd.symboltable.NameDeclaration;
6 
7 public class ASTName extends SimpleJavaTypeNode {
8 public ASTName(int id) {
9 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 }

AltStyle によって変換されたページ (->オリジナル) /