public ExpressionFunction withName(String name) {
        return new ExpressionFunction(name, arguments, body, argumentTypes, returnType);
    }
Returns the return type of this, or empty if not specified
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/ExpressionFunction.java