void (@NotNull final ProgressIndicator indicator) { super.run(indicator); for (ItemWithPresentation item : myGotoData.getItems()) { if (!updateComponent(item)) { return; } } new ImplementationSearcher.BackgroundableImplementationSearcher() { @Override protected void processElement(PsiElement element) { indicator.checkCanceled(); if (!TargetElementUtil.getInstance().acceptImplementationForReference(myReference, element)) return; ItemWithPresentation item = myGotoData.addTarget(element); if (item != null) { if (!updateComponent(item)) { indicator.cancel(); } } } }.searchImplementations(myEditor, myGotoData.source, myOffset); }