|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.incava.java.SimpleNodeUtil
org.incava.java.FieldUtil
public class FieldUtil
Miscellaneous routines for fields.
Constructor Summary | |
---|---|
FieldUtil()
|
Method Summary | |
---|---|
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)
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldUtil()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |