org.incava.java
Class MethodUtil

java.lang.Object
  extended by org.incava.java.SimpleNodeUtil
      extended by org.incava.java.FunctionUtil
          extended by org.incava.java.MethodUtil

public class MethodUtil
extends FunctionUtil

Miscellaneous routines for method declarations.


Constructor Summary
MethodUtil()
           
 
Method Summary
protected static MethodMatchCriteria getCriteria(ASTMethodDeclaration method)
           
static ASTMethodDeclarator getDeclarator(ASTMethodDeclaration method)
           
static java.lang.String getFullName(ASTMethodDeclaration method)
           
static double getMatchScore(ASTMethodDeclaration a, ASTMethodDeclaration b)
           
static Token getName(ASTMethodDeclaration method)
           
static ASTFormalParameters getParameters(ASTMethodDeclaration method)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodUtil

public MethodUtil()
Method Detail

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)