private static ArrayList<Pair<TextAttributesKey, @Nls String>> getEditorAttributesKeysAndNames(InspectionProfileImpl profile) {
    final var textAttributes = ColorSettingsUtil.getErrorTextAttributes();

    final Collection<HighlightInfoType> standardSeverities = SeverityRegistrar.standardSeverities();
    final var registrar = profile.getProfileManager().getSeverityRegistrar();
    for (HighlightSeverity severity : registrar.getAllSeverities()) {
      final var highlightInfoType = registrar.getHighlightInfoTypeBySeverity(severity);
      if (standardSeverities.contains(highlightInfoType)) continue;
      final TextAttributesKey attributes = registrar.getHighlightInfoTypeBySeverity(severity).getAttributesKey();
      textAttributes.add(new Pair<>(attributes, severity.getDisplayName()));
    }

    textAttributes.add(new Pair<>(EDIT_HIGHLIGHTING, InspectionsBundle.message("inspection.edit.highlighting.action")));
    return textAttributes;
  }
private static ArrayList<Pair<TextAttributesKey, @Nls String>> getEditorAttributesKeysAndNames(InspectionProfileImpl profile)