TargetDirectoryWrapper (String relativePath) { if (myTargetDirectory != null) { final PsiDirectory psiDirectory = myTargetDirectory.findSubdirectory(relativePath); if (psiDirectory != null) { return new TargetDirectoryWrapper(psiDirectory); } } return new TargetDirectoryWrapper(this, relativePath); }