PsiElement (String name) { final PsiFile file = getContainingFile(); if (file instanceof PyFile) { return new PyImportedModule(this, (PyFile)file, QualifiedName.fromComponents(name)); } return null; }