presto-main/src/main/java/io/prestosql/operator/window/SqlWindowFunction.java/SqlWindowFunction/SqlWindowFunction
class SqlWindowFunction:    public SqlWindowFunction(WindowFunctionSupplier supplier)
    {
        this.supplier = requireNonNull(supplier, "supplier is null");
        Signature signature = supplier.getSignature();
        functionMetadata = new FunctionMetadata(
                signature,
                true,
                nCopies(signature.getArgumentTypes().size(), new FunctionArgumentDefinition(true)),
                false,
                true,
                nullToEmpty(supplier.getDescription()),
                WINDOW);
    }