docs: @Override
    public Fix replace(ExpressionTemplateMatch match) {
      Inliner inliner = match.createInliner();
      Context context = inliner.getContext();
      if (annotations().containsKey(UseImportPolicy.class)) {
        ImportPolicy.bind(context, annotations().getInstance(UseImportPolicy.class).value());
      } else {
        ImportPolicy.bind(context, ImportPolicy.IMPORT_TOP_LEVEL);
      }
      int prec = getPrecedence(match.getLocation(), context);
      SuggestedFix.Builder fix = SuggestedFix.builder();
      try {
        StringWriter writer = new StringWriter();
        pretty(inliner.getContext(), writer).printExpr(expression().inline(inliner), prec);
        fix.replace(match.getLocation(), writer.toString());
      } catch (CouldNotResolveImportException e) {
        logger.log(SEVERE, "Failure to resolve in replacement", e);
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
      return addImports(inliner, fix);
    }