presto-matching/src/main/java/io/prestosql/matching/Property.java/Property/getFunction
class Property:    public BiFunction<F, C, Optional<?>> getFunction()
    {
        //without the ::apply below, the type system is unable to drop the R type from Optional
        return function::apply;
    }