void (@NotNull InspectionProfileModifiableModel scheme, @NotNull String newName) { final InspectionProfileModifiableModel newProfile = copyToNewProfile(scheme, myProject, newName, false); addProfile(newProfile); myConfigurable.selectProfile(newProfile); selectScheme(newProfile); }