void () { ProgressManager.getInstance().run(new Task.Backgroundable(myProject, JavaRefactoringBundle.message("refactoring.extract.method.preview.updating")) { @Override public void run(@NotNull ProgressIndicator indicator) { updateLaterImpl(indicator, true); } }); }