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