org.incava.java

Class ThrowsUtil


public class ThrowsUtil
extends SimpleNodeUtil

Miscellaneous routines for throws lists.

Method Summary

static String
getName(net.sourceforge.pmd.ast.ASTNameList names, int index)
static net.sourceforge.pmd.ast.ASTName
getNameNode(net.sourceforge.pmd.ast.ASTNameList names, int index)
static net.sourceforge.pmd.ast.ASTName[]
getNames(net.sourceforge.pmd.ast.ASTNameList names)

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 String getName(net.sourceforge.pmd.ast.ASTNameList names,
                             int index)

getNameNode

public static net.sourceforge.pmd.ast.ASTName getNameNode(net.sourceforge.pmd.ast.ASTNameList names,
                                                          int index)

getNames

public static net.sourceforge.pmd.ast.ASTName[] getNames(net.sourceforge.pmd.ast.ASTNameList names)