presto-main/src/main/java/io/prestosql/sql/planner/ExpressionNodeInliner.java/ExpressionNodeInliner/replaceExpression
class ExpressionNodeInliner:    public static Expression replaceExpression(Expression expression, Map<? extends Expression, ? extends Expression> mappings)
    {
        return ExpressionTreeRewriter.rewriteWith(new ExpressionNodeInliner(mappings), expression);
    }