PsiFile (@NotNull String name) { ProgressManager.checkCanceled(); VirtualFile childVFile = myFile.findChild(name); if (childVFile == null) return null; if (!childVFile.isValid()) { LOG.error("Invalid file: " + childVFile + " in dir " + myFile + ", dir.valid=" + myFile.isValid()); return null; } return myManager.findFile(childVFile); }