View Javadoc

1   package net.sourceforge.pmd.ast;
2   
3   /**
4    * An extension of the SimpleJavaNode which implements the TypeNode interface.
5    * 
6    * @see SimpleJavaNode
7    * @see TypeNode
8    */
9   public class SimpleJavaTypeNode extends SimpleJavaNode implements TypeNode {
10  
11  	public SimpleJavaTypeNode(int i) {
12  		super(i);
13  	}
14  
15  	public SimpleJavaTypeNode(JavaParser p, int i) {
16  		super(p, i);
17  	}
18  
19  	private Class type;
20  
21  	public Class getType() {
22  		return type;
23  	}
24  
25  	public void setType(Class type) {
26  		this.type = type;
27  	}
28  }