void (@NotNull Module module, ModifiableRootModel model) { ApplicationManager.getApplication().runWriteAction(model::commit); SaveAndSyncHandler.getInstance().scheduleProjectSave(module.getProject()); }