List<RatedResolveResult> (@NotNull String name) { final PyImportElement[] elements = getImportElements(); if (elements.length == 1) { final PyImportElement element = elements[0]; final QualifiedName importedQName = element.getImportedQName(); if (importedQName != null && importedQName.getComponentCount() > 1 && name.equals(importedQName.getLastComponent())) { return ResolveResultList.to(resolveImplicitSubModule()); } } return Collections.emptyList(); }