private static @NotNull @NlsSafe String getAccessibleNameForRow(JTable table, int row, boolean isOriginUsage) {
    AccessibleTable accessibleTable = table.getAccessibleContext().getAccessibleTable();
    if (accessibleTable == null) return "";
    int columnCount = accessibleTable.getAccessibleColumnCount();
    StringBuilder str = new StringBuilder();

    if (!ExperimentalUI.isNewUI()) {
      if (isOriginUsage) str.append(IdeBundle.message("ShowUsagesTableCellRenderer.accessible.CURRENT_ASTERISK_COL"));
      else str.append(IdeBundle.message("ShowUsagesTableCellRenderer.accessible.OTHER_ASTERISK_COL"));
      str.append(", ");
    }

    for (int i = 1; i < columnCount; i++) {
      Accessible accessibleItem = accessibleTable.getAccessibleAt(row, i);
      if (accessibleItem == null) continue;
      AccessibleContext accessibleItemContext = accessibleItem.getAccessibleContext();
      if (accessibleItemContext == null) continue;
      String name = accessibleItemContext.getAccessibleName();
      if (name != null) {
        str.append(name);
        str.append(", ");
      }
    }
    return str.toString();
  }
private static @NotNull @NlsSafe String getAccessibleNameForRow(JTable table, int row, boolean isOriginUsage)