View Javadoc

    1   package net.sourceforge.pmd.lang.java.ast;
    2
    3   /**
    4    * An extension of the SimpleJavaNode which implements the TypeNode interface.
    5    *
    6    * @see AbstractJavaNode
    7    * @see TypeNode
    8    */
    9   public abstract class AbstractJavaTypeNode extends AbstractJavaNode implements TypeNode {
    10
    11      public AbstractJavaTypeNode(int i) {
    12  	super(i);
    13      }
    14
    15      public AbstractJavaTypeNode(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  }