PsiElement (@NotNull PyReferenceExpression element) { final PyResolveContext resolveContext = PyResolveContext.defaultContext(myContext); final QualifiedResolveResult resolveResult = element.followAssignmentsChain(resolveContext); return resolveResult.isImplicit() ? null : resolveResult.getElement(); }