CommonProcessors.CollectProcessor<Usage> collectProcessor = new CommonProcessors.CollectProcessor<Usage>();
PsiDirectory directory = PsiManager.getInstance(project).findDirectory(project.getBaseDir());
FindInProjectUtil.findUsages(findModel, directory, project,
true, new AdapterProcessor<UsageInfo, Usage>(collectProcessor, UsageInfo2UsageAdapter.CONVERTER), new FindUsagesProcessPresentation());
final Collection<Usage> usages = collectProcessor.getResults();
//todo: needs code review. There must be a better way to do this