void (@NotNull FilteringResult reason) { if (!myErrorsGroup.isEmpty()) { myChildren.addBottomGroup(myErrorsGroup); } final long duration = System.nanoTime() - myFilteringStartedTime; LOG.info(String.format("Filtering completed in %d ms for %d instances", TimeUnit.NANOSECONDS.toMillis(duration), myProceedCount)); final XValueChildrenList childrenList = myChildren; ApplicationManager.getApplication().invokeLater(() -> { updateIndicator(); myInstancesTree.addChildren(childrenList, true); getFilterButton().setEnabled(true); myIsInProcess = false; myCompletionReason = reason; myProgressIndicator.stop(); }); }