presto-main/src/main/java/io/prestosql/sql/planner/DomainTranslator.java/DomainTranslator/fromPredicate
class DomainTranslator:    public static ExtractionResult fromPredicate(
            Metadata metadata,
            Session session,
            Expression predicate,
            TypeProvider types)
    {
        return new Visitor(metadata, session, types, new TypeAnalyzer(new SqlParser(), metadata)).process(predicate, false);
    }