private static int compare(@NotNull HighlightSeverity s1,
                             @NotNull HighlightSeverity s2,
                             @NotNull Object2IntMap<HighlightSeverity> orderMap) {
    return orderMap.getInt(s1) - orderMap.getInt(s2);
  }
private static int compare(@NotNull HighlightSeverity s1,
                             @NotNull HighlightSeverity s2,
                             @NotNull Object2IntMap<HighlightSeverity> orderMap)