void (final PsiElement element, final FindUsagesOptions options, final Processor<? super UsageInfo> processor) { FindUsagesManager findUsagesManager = ((FindManagerImpl)FindManager.getInstance(element.getProject())).getFindUsagesManager(); FindUsagesHandler handler = findUsagesManager.getFindUsagesHandler(element, false); assertNotNull(handler); handler.processElementUsages(element, processor, options); }