void (PsiElement element) { indicator.checkCanceled(); if (!TargetElementUtil.getInstance().acceptImplementationForReference(myReference, element)) return; ItemWithPresentation item = myGotoData.addTarget(element); if (item != null) { if (!updateComponent(item)) { indicator.cancel(); } } }