public static boolean isEmbeddedLiteralRedundant(@Nullable PsiExpression embeddedExpression) {
    if (embeddedExpression instanceof PsiLiteralExpression literal && !literal.isTextBlock()) {
      Object value = literal.getValue();
      return value instanceof String || String.valueOf(literal.getValue()).equals(literal.getText());
    }
    return false;
  }
public static boolean isEmbeddedLiteralRedundant(@Nullable PsiExpression embeddedExpression)