StreamEx<PsiDirectory> (Module module, DescriptionType descriptionType) { final JavaPsiFacade javaPsiFacade = JavaPsiFacade.getInstance(module.getProject()); final PsiPackage psiPackage = javaPsiFacade.findPackage(descriptionType.getDescriptionFolder()); if (psiPackage == null) return StreamEx.empty(); return searchScopes(module).flatMap(scope -> StreamEx.of(psiPackage.getDirectories(scope))).distinct(); }