List<UsageInfo> (@NotNull FindModel findModel) { List<UsageInfo> result = Collections.synchronizedList(new ArrayList<>()); FindUsagesProcessPresentation presentation = new FindUsagesProcessPresentation(FindInProjectUtil.setupViewPresentation(true, findModel)); FindInProjectUtil.findUsages(findModel, myProject, new CommonProcessors.CollectProcessor<>(result), presentation); return result; }