presto-main/src/main/java/io/prestosql/metadata/SqlScalarFunction.java/SqlScalarFunction/specialize
class SqlScalarFunction:    public abstract ScalarFunctionImplementation specialize(BoundVariables boundVariables, int arity, Metadata metadata);