Collection<PsiElement> (@NotNull ScopeOwner scopeOwner, @NotNull String name) { final PyResolveProcessor processor = new PyResolveProcessor(name, true); scopeCrawlUp(processor, scopeOwner, name, null); return processor.getElements(); }