void () { ApplicationManager.getApplication().invokeLater(() -> { if (!isCancelled()) { boolean isEmpty = resultsCount.get() == 0; if (isEmpty) { showEmptyText(FindBundle.message("message.nothingFound")); } } onStop(hash); }, state); }