private void removeProfile(@NotNull InspectionProfileImpl profile) {
    myProfilePanels.removeIf(panel -> {
      if (panel.getProfile().equals(profile)) {
        panel.disposeUI();
        return true;
      }
      return false;
    });
  }
private void removeProfile(@NotNull InspectionProfileImpl profile)