private static boolean addDerivedInterfaces(@NotNull PsiClass anInterface,
                                              @NotNull JavaClassFindUsagesOptions options,
                                              @NotNull Processor<? super UsageInfo> processor) {
    return ClassInheritorsSearch.search(anInterface, options.searchScope, options.isCheckDeepInheritance).forEach(
      new PsiElementProcessorAdapter<>(
        inheritor -> !inheritor.isInterface() || addResult(inheritor, options, processor)));
  }
private static boolean addDerivedInterfaces(@NotNull PsiClass anInterface,
                                              @NotNull JavaClassFindUsagesOptions options,
                                              @NotNull Processor<? super UsageInfo> processor)