void (@NotNull final Project project, @NotNull final AnalysisScope scope) { PropertiesComponent.getInstance().setValue(UPDATE_EXISTING_COPYRIGHTS, String.valueOf(myUi.getUpdateExistingCopyrightsCb().isSelected()), "true"); Task.Backgroundable task = new UpdateCopyrightTask(project, scope, myUi.getUpdateExistingCopyrightsCb().isSelected(), PerformInBackgroundOption.ALWAYS_BACKGROUND); ProgressManager.getInstance().run(task); }