for (int i=0; i<arguments.size(); i++) {
args[i] = arguments.get(i).evaluate();
types[i] = args[i].getClass();
}
ConstructorTypelistCollection constructorTypelistCollection = new ConstructorTypelistCollection(clazz);
ConstructorTypelist constructorTypelist = (ConstructorTypelist)TypelistEvaluator.getBestTypelist(types, constructorTypelistCollection);
if (constructorTypelist == null) {
throw new LajaException("Could not find a constructor for class " + clazz.getCanonicalName() + " with the parameter list: " + Arrays.asList(types));
}