public @Nullable HighlightSeverity getSeverity(@NotNull String name) {
    HighlightInfoType type = STANDARD_SEVERITIES.get(name);
    if (type != null) return type.getSeverity(null);
    SeverityBasedTextAttributes attributes = myMap.get(name);
    if (attributes != null) return attributes.getSeverity();
    return null;
  }
public @Nullable HighlightSeverity getSeverity(@NotNull String name)