| java.lang.Object org.incava.java.SimpleNodeUtil org.incava.java.ParameterUtil
ParameterUtil | public class ParameterUtil extends SimpleNodeUtil (Code) | | Miscellaneous routines for parameters.
|
Method Summary | |
protected static int | getExactMatch(List parameters, Object[] values) | protected static int | getListMatch(List aList, int aIndex, List bList) Returns 0 for exact match, +1 for misordered match, -1 for no match. | public static int[] | getMatch(List aParameters, int aIndex, List bParameters) | public static double | getMatchScore(ASTFormalParameters a, ASTFormalParameters b) | public static ASTFormalParameter | getParameter(ASTFormalParameters params, int index) | public static List | getParameterList(ASTFormalParameters params) | public static Token | getParameterName(ASTFormalParameters params, int index) | public static Token | getParameterName(ASTFormalParameter param) | public static Token[] | getParameterNames(ASTFormalParameters params) | public static String | getParameterType(ASTFormalParameters params, int index) | public static String | getParameterType(ASTFormalParameter param) | public static List | getParameterTypes(ASTFormalParameters params) | public static ASTFormalParameter[] | getParameters(ASTFormalParameters params) |
getExactMatch | protected static int getExactMatch(List parameters, Object[] values)(Code) | | |
getListMatch | protected static int getListMatch(List aList, int aIndex, List bList)(Code) | | Returns 0 for exact match, +1 for misordered match, -1 for no match.
|
getMatch | public static int[] getMatch(List aParameters, int aIndex, List bParameters)(Code) | | |
Methods inherited from org.incava.java.SimpleNodeUtil | public static void dump(SimpleNode node, String prefix)(Code)(Java Doc) public static void dump(SimpleNode node, String prefix, boolean showWhitespace)(Code)(Java Doc) public static SimpleNode findChild(SimpleNode parent, Class childType)(Code)(Java Doc) public static SimpleNode findChild(SimpleNode parent, Class childType, int index)(Code)(Java Doc) public static SimpleNode[] findChildren(SimpleNode parent, Class childType)(Code)(Java Doc) public static SimpleNode[] findChildren(SimpleNode parent)(Code)(Java Doc) public static Token findToken(SimpleNode node, int tokenType)(Code)(Java Doc) public static List getChildren(SimpleNode node)(Code)(Java Doc) public static List getChildren(SimpleNode node, boolean getNodes, boolean getTokens)(Code)(Java Doc) public static List getChildrenSerially(SimpleNode node)(Code)(Java Doc) public static List getChildrenSerially(SimpleNode node, List list)(Code)(Java Doc) public static Token getLeadingToken(SimpleNode node, int tokenType)(Code)(Java Doc) public static List getLeadingTokens(SimpleNode node)(Code)(Java Doc) public static int getLevel(SimpleNode node)(Code)(Java Doc) protected static String getLocation(Token t1, Token t2)(Code)(Java Doc) public static SimpleNode getParent(SimpleNode node)(Code)(Java Doc) public static List getTokens(SimpleNode node)(Code)(Java Doc) public static boolean hasChildren(SimpleNode node)(Code)(Java Doc) public static boolean hasLeadingToken(SimpleNode node, int tokenType)(Code)(Java Doc) public static void print(SimpleNode node)(Code)(Java Doc) public static void print(SimpleNode node, String prefix)(Code)(Java Doc) public static String toString(SimpleNode node)(Code)(Java Doc)
|
|
|