public @NlsContexts.DialogMessage String[] getFailedConversionsReport() {
    final @Nls String[] report = new String[myFailedConversions.size()];
    int j = 0;

    for (Pair<SmartPsiElementPointer<PsiElement>, PsiType> p : myFailedConversions.keySet()) {
      final PsiElement element = p.getFirst().getElement();
      LOG.assertTrue(element != null);
      if (element instanceof PsiExpression expression) {
        final PsiType type = expression.getType();
        report[j++] = JavaBundle.message("type.migration.cannot.convert.message",
                                         StringUtil.escapeXmlEntities(element.getText()),
                                         type != null ? StringUtil.escapeXmlEntities(type.getCanonicalText()) : "",
                                         StringUtil.escapeXmlEntities(p.getSecond().getCanonicalText()),
                                         type == null ? 0 : 1);
      }
      else {
        LOG.assertTrue(element instanceof PsiExpressionList);
        report[j++] = JavaBundle.message("type.migration.cannot.convert.vararg.message",
                                         StringUtil.escapeXmlEntities(element.getParent().getText()));
      }
    }

    return report;
  }
public @NlsContexts.DialogMessage String[] getFailedConversionsReport()