presto-main/src/main/java/io/prestosql/operator/window/AggregateWindowFunction.java/AggregateWindowFunction/supplier
class AggregateWindowFunction:    public static WindowFunctionSupplier supplier(Signature signature, final InternalAggregationFunction function)
    {
        requireNonNull(function, "function is null");
        return new AbstractWindowFunctionSupplier(signature, null)
        {
            @Override
            protected WindowFunction newWindowFunction(List<Integer> inputs, boolean ignoreNulls)
            {
                return new AggregateWindowFunction(function, inputs);
            }
        };
    }