org.incava.java

Class VariableUtil


public class VariableUtil
extends SimpleNodeUtil

Miscellaneous routines for variables (declarators).

Method Summary

static net.sourceforge.pmd.ast.Token
getName(net.sourceforge.pmd.ast.ASTVariableDeclarator vd)
static net.sourceforge.pmd.ast.Token[]
getVariableNames(net.sourceforge.pmd.ast.ASTVariableDeclarator[] vds)

Methods inherited from class org.incava.java.SimpleNodeUtil

dump, dump, findChild, findChild, findChildren, findChildren, findToken, getChildren, getChildren, getChildrenSerially, getChildrenSerially, getLeadingToken, getLeadingTokens, getLevel, getLocation, getParent, getTokens, hasChildren, hasLeadingToken, print, print, toString

Method Details

getName

public static net.sourceforge.pmd.ast.Token getName(net.sourceforge.pmd.ast.ASTVariableDeclarator vd)

getVariableNames

public static net.sourceforge.pmd.ast.Token[] getVariableNames(net.sourceforge.pmd.ast.ASTVariableDeclarator[] vds)