}
String description = getDescription(method);
FunctionBinder functionBinder = createFunctionBinder(method, scalarFunction);
scalar(name, methodHandle, scalarFunction.deterministic(), functionBinder, description);
for (String alias : scalarFunction.alias()) {
scalar(alias, methodHandle, scalarFunction.deterministic(), functionBinder, description);
}
foundOne = true;
}
checkArgument(foundOne, "Expected class %s to contain at least one method annotated with @%s", clazz.getName(), ScalarFunction.class.getSimpleName());
}