public void registerSeverity(@NotNull SeverityBasedTextAttributes info, @Nullable Color renderColor) {
    HighlightSeverity severity = info.getType().getSeverity(null);
    myMap.put(severity.getName(), info);
    if (renderColor != null) {
      myRendererColors.put(severity.getName(), renderColor);
    }
    orderMap.set(null);
    HighlightDisplayLevel.registerSeverity(severity, getHighlightInfoTypeBySeverity(severity).getAttributesKey(), null);
    severitiesChanged();
  }
public void registerSeverity(@NotNull SeverityBasedTextAttributes info, @Nullable Color renderColor)