public class FieldUtil extends SimpleNodeUtil
Constructor and Description |
---|
FieldUtil() |
Modifier and Type | Method and Description |
---|---|
static double |
getMatchScore(ASTFieldDeclaration a,
ASTFieldDeclaration b) |
static Token |
getName(ASTVariableDeclarator vd) |
static java.lang.String |
getNames(ASTFieldDeclaration fld)
Returns a string in the form "a, b, c", for the variables declared in
this field.
|
static ASTVariableDeclarator[] |
getVariableDeclarators(ASTFieldDeclaration fld) |
dump, dump, findChild, findChild, findChildren, findChildren, findToken, getChildren, getChildren, getChildrenSerially, getChildrenSerially, getLeadingToken, getLeadingTokens, getLevel, getLocation, getParent, getTokens, hasChildren, hasLeadingToken, print, print, toString
public static Token getName(ASTVariableDeclarator vd)
public static ASTVariableDeclarator[] getVariableDeclarators(ASTFieldDeclaration fld)
public static java.lang.String getNames(ASTFieldDeclaration fld)
public static double getMatchScore(ASTFieldDeclaration a, ASTFieldDeclaration b)