Set<String> (@NotNull PsiPackage psiPackage, @NotNull GlobalSearchScope scope) { final Set<String> result = new HashSet<>(); processDirectories(psiPackage.getQualifiedName(), scope, dir -> { for (final VirtualFile file : dir.getChildren()) { if (!file.isDirectory() && ArrayUtil.contains(file.getExtension(), myFileExtensions)) { result.add(file.getNameWithoutExtension()); } } return true; }); return result; }