TaskInfo (@NotNull @NlsContexts.DialogTitle String title, boolean canBeCancelled) { return new Task.Modal(null, title, canBeCancelled) { @Override public void run(@NotNull ProgressIndicator indicator) { } }; }