UsageSearcher () { return processor -> { try { myIsFindInProgress = true; FindInProjectUtil.findUsages(myFindModelCopy, myProject, new AdapterProcessor<>(processor, UsageInfo2UsageAdapter.CONVERTER), myProcessPresentation); } finally { myIsFindInProgress = false; } }; }