boolean (@NotNull PsiClass aClass, @NotNull JavaClassFindUsagesOptions options, @NotNull Processor<? super UsageInfo> processor) { return ClassInheritorsSearch.search(aClass, options.searchScope, options.isCheckDeepInheritance).forEach( new PsiElementProcessorAdapter<>(element -> addResult(element, options, processor))); }