if (name.equals("new")) {
Constructor constructor =
MethodLookupUtils.lookupConstructor(functionClass, parameters);
if (constructor != null) {
return new ConstructorFunction(constructor);
}
}
else {
Method method = MethodLookupUtils.
lookupStaticMethod(functionClass, name, parameters);