PsiElement (@NotNull PsiElement context, @NotNull PyResolveContext resolveContext) { final PyPsiFacade facade = PyPsiFacade.getInstance(context.getProject()); return facade.resolveQualifiedName(myQualifiedName, facade.createResolveContextFromFoothold(context)) .stream().findFirst().orElse(null); }