void (@NotNull ProcessEvent event) { if (ProjectManagerEx.getInstanceEx().isProjectOpened(myProject)) { var statusBar = WindowManager.getInstance().getStatusBar(myProject); if (statusBar != null) { statusBar.setInfo(ToolsBundle.message("tools.completed.message", myName, event.getExitCode())); } } if (mySynchronizeAfterExecution) { SaveAndSyncHandler.getInstance().scheduleRefresh(); } }