net.sourceforge.pmd.ast

Interface TypeNode

public interface TypeNode

This interface allows a Java Class to be associtated with a node.
Method Summary
Class<?>getType()
Get the Java Class associated with this node.
voidsetType(Class<?> type)
Set the Java Class associated with this node.

Method Detail

getType

public Class<?> getType()
Get the Java Class associated with this node.

Returns: The Java Class, may return null.

setType

public void setType(Class<?> type)
Set the Java Class associated with this node.

Parameters: type A Java Class