private static @NotNull GlobalSearchScope getAnnotationSourceSearchScope(@NotNull Module module, boolean includeTests) {
    GlobalSearchScope moduleScope = moduleWithDependenciesScope(module);
    if (!includeTests) {
      moduleScope = moduleScope.intersectWith(projectProductionScope(module.getProject()));
    }
    return getProjectAnnotationFilesScope(module).intersectWith(moduleScope);
  }
private static @NotNull GlobalSearchScope getAnnotationSourceSearchScope(@NotNull Module module, boolean includeTests)