org.incava.java

Class CtorUtil


public class CtorUtil
extends FunctionUtil

Miscellaneous routines for constructors.

Method Summary

static String
getFullName(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)
static double
getMatchScore(net.sourceforge.pmd.ast.ASTConstructorDeclaration a, net.sourceforge.pmd.ast.ASTConstructorDeclaration b)
static net.sourceforge.pmd.ast.Token
getName(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)
static net.sourceforge.pmd.ast.ASTFormalParameters
getParameters(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)

Methods inherited from class org.incava.java.FunctionUtil

getThrows, getThrowsList, toFullName

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

getFullName

public static String getFullName(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)

getMatchScore

public static double getMatchScore(net.sourceforge.pmd.ast.ASTConstructorDeclaration a,
                                   net.sourceforge.pmd.ast.ASTConstructorDeclaration b)

getName

public static net.sourceforge.pmd.ast.Token getName(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)

getParameters

public static net.sourceforge.pmd.ast.ASTFormalParameters getParameters(net.sourceforge.pmd.ast.ASTConstructorDeclaration ctor)