}
boolean doMatch(int astIndex, int actualIndex)
{
ASTParameter ast = astParameters.get(astIndex);
ClassExpression exp = ast.getType();
if (exp.isSimple())
{
String asString = ClassExpression.simpleType(params[actualIndex]);
if (!exp.matches(asString)) return false;
}
else
{
if (!Util.matchesClassExpr(exp, params[actualIndex], advisor)) return false;
}