org.incava.java
Class FieldUtil
Miscellaneous routines for fields.
static double | getMatchScore(net.sourceforge.pmd.ast.ASTFieldDeclaration a, net.sourceforge.pmd.ast.ASTFieldDeclaration b)
|
static net.sourceforge.pmd.ast.Token | getName(net.sourceforge.pmd.ast.ASTVariableDeclarator vd)
|
static String | getNames(net.sourceforge.pmd.ast.ASTFieldDeclaration fld)- Returns a string in the form "a, b, c", for the variables declared in
this field.
|
static net.sourceforge.pmd.ast.ASTVariableDeclarator[] | getVariableDeclarators(net.sourceforge.pmd.ast.ASTFieldDeclaration fld)
|
dump, dump, findChild, findChild, findChildren, findChildren, findToken, getChildren, getChildren, getChildrenSerially, getChildrenSerially, getLeadingToken, getLeadingTokens, getLevel, getLocation, getParent, getTokens, hasChildren, hasLeadingToken, print, print, toString |
getMatchScore
public static double getMatchScore(net.sourceforge.pmd.ast.ASTFieldDeclaration a,
net.sourceforge.pmd.ast.ASTFieldDeclaration b)
getName
public static net.sourceforge.pmd.ast.Token getName(net.sourceforge.pmd.ast.ASTVariableDeclarator vd)
getNames
public static String getNames(net.sourceforge.pmd.ast.ASTFieldDeclaration fld)
Returns a string in the form "a, b, c", for the variables declared in
this field.
getVariableDeclarators
public static net.sourceforge.pmd.ast.ASTVariableDeclarator[] getVariableDeclarators(net.sourceforge.pmd.ast.ASTFieldDeclaration fld)