presto-main/src/main/java/io/prestosql/sql/planner/Coercer.java/Coercer/addCoercions
class Coercer:    public static Expression addCoercions(Expression expression, Map<NodeRef<Expression>, Type> coercions, Set<NodeRef<Expression>> typeOnlyCoercions)
    {
        return ExpressionTreeRewriter.rewriteWith(new Rewriter(coercions, typeOnlyCoercions), expression);
    }