public @Nullable TextAttributes getCustomSeverityTextAttributes(@NotNull TextAttributesKey key) {
    SeverityBasedTextAttributes attributes = myMap.get(key.getExternalName());
    return attributes != null ? attributes.getAttributes() : null;
  }
public @Nullable TextAttributes getCustomSeverityTextAttributes(@NotNull TextAttributesKey key)