01: package net.sourceforge.pmd.ast;
02:
03: /**
04: * This interface allows a Java Class to be associtated with a node.
05: */
06: public interface TypeNode {
07:
08: /**
09: * Get the Java Class associated with this node.
10: * @return The Java Class, may return <code>null</code>.
11: */
12: public Class<?> getType();
13:
14: /**
15: * Set the Java Class associated with this node.
16: * @param type A Java Class
17: */
18: public void setType(Class<?> type);
19: }
|