private static PsiDirectory @NotNull [] getPackageDirectoriesInModule(@NotNull PsiPackage rootPackage, @NotNull Module module) {
    return rootPackage.getDirectories(GlobalSearchScope.moduleScope(module));
  }
private static PsiDirectory @NotNull [] getPackageDirectoriesInModule(@NotNull PsiPackage rootPackage, @NotNull Module module)