QualifiedName (@NotNull PsiElement foothold, @NotNull VirtualFile virtualFile) { final PythonPathCache cache = ResolveImportUtil.getPathCache(foothold); if (cache != null) { final List<QualifiedName> names = cache.getNames(virtualFile); if (names != null) { return shortestQName(names); } } return null; }