FileStatus () { if (!isValid()) return null; PsiDirectory[] dirs = myPackage.getDirectories(); return dirs.length == 1 ? FileStatusManager.getInstance(getProject()).getStatus(dirs[0].getVirtualFile()) : null; }