presto-matching/src/main/java/io/prestosql/matching/Pattern.java/Pattern/matching
class Pattern:    public Pattern<T> matching(BiPredicate<? super T, ?> predicate)
    {
        return new FilterPattern<>(predicate, Optional.of(this));
    }