private static boolean needsQuote(PsiExpression expr) {
      Object constExprValue = ExpressionUtils.computeConstantExpression(expr);
      return !(constExprValue instanceof String value) ||
             Matcher.quoteReplacement(value) != constExprValue;
    }
private static boolean needsQuote(PsiExpression expr)