void (@NotNull JList<Configuration> list) { final InspectionProfileModifiableModel profile = InspectionProfileUtil.getInspectionProfile(list); if (profile == null) return; final SSBasedInspection inspection = SSBasedInspection.getStructuralSearchInspection(profile); inspection.removeConfigurationsWithUuid(myMainConfiguration.getUuid()); inspection.addConfigurations(myConfigurations); profile.setModified(true); }