? compiler.compile(args[args.length - 1])
: ConstantCalc.constantNull(call.getType());
calcList.add(defaultCalc);
final Calc[] calcs = calcList.toArray(new Calc[calcList.size()]);
return new GenericCalc(call) {
public Object evaluate(Evaluator evaluator) {
Object value = valueCalc.evaluate(evaluator);
for (int i = 0; i < matchCalcs.length; i++) {
Object match = matchCalcs[i].evaluate(evaluator);
if (match.equals(value)) {