private static @NotNull JComponent createDetailsPanel(@NotNull AnalyzerStatus analyzerStatus) {
    @Nls StringBuilder text = new StringBuilder();
    List<StatusItem> expandedStatus = analyzerStatus.getExpandedStatus();
    for (int i = 0; i < expandedStatus.size(); i++) {
      boolean last = i == expandedStatus.size() - 1;
      StatusItem item = expandedStatus.get(i);

      String detailsText = item.getDetailsText();
      text.append(detailsText != null ? detailsText : item.getText());
      if (!last) {
        text.append(", ");
      }
      else if (analyzerStatus.getAnalyzingType() != AnalyzingType.COMPLETE) {
        text.append(" ").append(EditorBundle.message("iw.found.so.far.suffix"));
      }
    }

    return new JLabel(text.toString());
  }
private static @NotNull JComponent createDetailsPanel(@NotNull AnalyzerStatus analyzerStatus)