presto-main/src/main/java/io/prestosql/sql/planner/FunctionCallBuilder.java/FunctionCallBuilder/setWindow
class FunctionCallBuilder:    public FunctionCallBuilder setWindow(Window window)
    {
        this.window = Optional.of(requireNonNull(window, "window is null"));
        return this;
    }