PsiElement (@NotNull PyReferenceExpression callee, @NotNull TypeEvalContext context) { final PyResolveContext resolveContext = PyResolveContext.implicitContext(context); final QualifiedResolveResult result = callee.followAssignmentsChain(resolveContext); return result.getElement(); }