PsiPolyVariantReference () { //noinspection InstanceofIncompatibleInterface assert !(this instanceof StubBasedPsiElement); final TypeEvalContext context = TypeEvalContext.codeAnalysis(getProject(), getContainingFile()); return getReference(PyResolveContext.defaultContext(context)); }