org.incava.java
Class FunctionUtil

java.lang.Object
  extended by org.incava.java.SimpleNodeUtil
      extended by org.incava.java.FunctionUtil
Direct Known Subclasses:
CtorUtil, MethodUtil

public class FunctionUtil
extends SimpleNodeUtil

Miscellaneous routines for functions (ctors and methods).


Constructor Summary
FunctionUtil()
           
 
Method Summary
static Token getThrows(SimpleNode function)
          Returns the throws token, or null if none.
static ASTNameList getThrowsList(SimpleNode function)
          Returns the throws list, or null if none.
protected static java.lang.String toFullName(Token tk, ASTFormalParameters params)
           
 
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

FunctionUtil

public FunctionUtil()
Method Detail

getThrows

public static Token getThrows(SimpleNode function)
Returns the throws token, or null if none.


getThrowsList

public static ASTNameList getThrowsList(SimpleNode function)
Returns the throws list, or null if none.


toFullName

protected static java.lang.String toFullName(Token tk,
                                             ASTFormalParameters params)