ClassInheritorsSearch.search(anInterface, options.searchScope, options.isCheckDeepInheritance).forEach(new PsiElementProcessorAdapter<PsiClass>(
</BUG>
new PsiElementProcessor<PsiClass>() {
@Override
<BUG>public boolean execute(@NotNull PsiClass inheritor) {
if (inheritor.isInterface()) {
addResult(results, inheritor, options);
}
return true;</BUG>
}

return (PsiClass)parent;
}
}
return null;
}
private static boolean addInheritors(@NotNull PsiClass aClass,
@NotNull final Processor<UsageInfo> processor,
@NotNull final JavaClassFindUsagesOptions options) {
return ClassInheritorsSearch.search(aClass, options.searchScope, options.isCheckDeepInheritance).forEach(new PsiElementProcessorAdapter<PsiClass>(
new PsiElementProcessor<PsiClass>() {
@Override
public boolean execute(@NotNull PsiClass element) {
return addResult(processor, element, options);
}
