PsiPackage (@NotNull String packageName) { final List<VirtualFile> files = findDirectoriesByPackageName(packageName); if (!files.isEmpty()) { return new PsiPackageImpl(myPsiManager, packageName); } return null; }