presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/DesugarAtTimeZone.java/DesugarAtTimeZone/createRewrite
class DesugarAtTimeZone:    private static ExpressionRewriter createRewrite(Metadata metadata, TypeAnalyzer typeAnalyzer)
    {
        requireNonNull(metadata, "metadata is null");
        requireNonNull(typeAnalyzer, "typeAnalyzer is null");

        return (expression, context) -> DesugarAtTimeZoneRewriter.rewrite(expression, context.getSession(), metadata, typeAnalyzer, context.getSymbolAllocator());
    }