org.incava.java
Class ParameterUtil
public
class
ParameterUtil
extends SimpleNodeUtil
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. |
static int[] | getMatch(List aParameters, int aIndex, List bParameters) |
static double | getMatchScore(ASTFormalParameters a, ASTFormalParameters b) |
static ASTFormalParameter | getParameter(ASTFormalParameters params, int index) |
static List | getParameterList(ASTFormalParameters params) |
static Token | getParameterName(ASTFormalParameters params, int index) |
static Token | getParameterName(ASTFormalParameter param) |
static Token[] | getParameterNames(ASTFormalParameters params) |
static ASTFormalParameter[] | getParameters(ASTFormalParameters params) |
static String | getParameterType(ASTFormalParameters params, int index) |
static String | getParameterType(ASTFormalParameter param) |
static List | getParameterTypes(ASTFormalParameters params) |
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 ASTFormalParameter[] getParameters(ASTFormalParameters params)
public static String getParameterType(ASTFormalParameters params, int index)
public static String getParameterType(ASTFormalParameter param)
public static List getParameterTypes(ASTFormalParameters params)