presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/RemoveDuplicateConditions.java/RemoveDuplicateConditions/createRewrite
class RemoveDuplicateConditions:    private static ExpressionRewriter createRewrite(Metadata metadata)
    {
        return (expression, context) -> ExpressionTreeRewriter.rewriteWith(new Visitor(metadata), expression);
    }