org.incava.java
Class MethodUtil
java.lang.Object
org.incava.java.SimpleNodeUtil
org.incava.java.FunctionUtil
org.incava.java.MethodUtil
public class MethodUtil
- extends FunctionUtil
Miscellaneous routines for method declarations.
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 |
MethodUtil
public MethodUtil()
getDeclarator
public static ASTMethodDeclarator getDeclarator(ASTMethodDeclaration method)
getName
public static Token getName(ASTMethodDeclaration method)
getParameters
public static ASTFormalParameters getParameters(ASTMethodDeclaration method)
getFullName
public static java.lang.String getFullName(ASTMethodDeclaration method)
getMatchScore
public static double getMatchScore(ASTMethodDeclaration a,
ASTMethodDeclaration b)
getCriteria
protected static MethodMatchCriteria getCriteria(ASTMethodDeclaration method)