private static HighlightSeverity[] getSeverities(InspectionProfileImpl profile) {
    List<HighlightSeverity> list = new ArrayList<>(LevelChooserAction.getSeverities(profile.getProfileManager().getSeverityRegistrar()));
    list.add(EDIT_SEVERITIES);
    return list.toArray(new HighlightSeverity[0]);
  }
private static HighlightSeverity[] getSeverities(InspectionProfileImpl profile)