private static @NotNull List<ClassAndInheritorCount> getTopInheritorsUsingCompilerIndices(@NotNull PsiClass aClass,
                                                                                            @NotNull GlobalSearchScope searchScope,
                                                                                            @NotNull PsiElement place) {
    String qName = aClass.getQualifiedName();
    if (qName == null) {
      return Collections.emptyList();
    }

    Project project = aClass.getProject();
    CompilerReferenceServiceEx compilerRefService = (CompilerReferenceServiceEx)CompilerReferenceService.getInstanceIfEnabled(project);
    try {
      int id = compilerRefService == null ? 0 : compilerRefService.getNameId(qName);
      if (id == 0) {
        return Collections.emptyList();
      }
      return findInheritors(aClass, new CompilerRef.JavaCompilerClassRef(id), searchScope, place, -1, project, compilerRefService);
    }
    catch (ReferenceIndexUnavailableException e) {
      return Collections.emptyList();
    }
  }
private static @NotNull List<ClassAndInheritorCount> getTopInheritorsUsingCompilerIndices(@NotNull PsiClass aClass,
                                                                                            @NotNull GlobalSearchScope searchScope,
                                                                                            @NotNull PsiElement place)