boolean (@NotNull PsiMethod psiMethod, @NotNull Processor<? super UsageInfo> processor, @NotNull JavaMethodFindUsagesOptions options) { return OverridingMethodsSearch.search(psiMethod, options.searchScope, options.isCheckDeepInheritance).forEach( new PsiElementProcessorAdapter<>( element -> addResult(element.getNavigationElement(), options, processor))); }