private static @NotNull GlobalSearchScope getProjectAnnotationFilesScope(@NotNull Module module) {
    return CachedValuesManager.getManager(module.getProject()).getCachedValue(module, () -> {
      GlobalSearchScope projectScope = module.getModuleWithDependenciesScope();
      GlobalSearchScope javaScope =
        filesScope(module.getProject(), ContainerUtil.newHashSet(getJavaAnnotationInheritorIds(module.getProject(), projectScope)));
      GlobalSearchScope otherScope = searchForAnnotationInheritorsInOtherLanguages(module.getProject(), projectScope);
      return Result.createSingleDependency(
        javaScope.uniteWith(otherScope),
        UastModificationTracker.getInstance(module.getProject()));
    });
  }
private static @NotNull GlobalSearchScope getProjectAnnotationFilesScope(@NotNull Module module)