PsiDirectory (@NotNull Project project, @NotNull RootType rootType) { VirtualFile virtualFile = getVirtualFile(rootType); return virtualFile == null ? null : PsiManager.getInstance(project).findDirectory(virtualFile); }