void (@Nullable PsiElement element, @Nullable PyImportedNameDefiner definer) { // XXX: In 'from foo import foo' inside __init__.py the preferred result is explicitly imported 'foo' if (definer instanceof PyFromImportStatement) { myImplicitlyImportedResults.put(element, definer); } else { myResults.put(element, definer); } }