presto-matching/src/main/java/io/prestosql/matching/Pattern.java/Pattern/Pattern
class Pattern:    protected Pattern(Pattern<?> previous)
    {
        this(Optional.of(requireNonNull(previous, "previous is null")));
    }