List<PsiElement> (@NotNull List<? extends ResolveResult> results, @NotNull TypeEvalContext context) { return PyUtil.filterTopPriorityElements( forEveryScopeTakeOverloadsOtherwiseImplementations(results, ResolveResult::getElement, context) ); }