@Override
    public void visitPyReferenceExpression(final @NotNull PyReferenceExpression node) {
      final PsiElement declaration = node.getReference().resolve();
      if (declaration instanceof PyElement) {
        final PyClass parent = PsiTreeUtil.getParentOfType(declaration, PyClass.class);
        if (parent != null) {
          myResult.putValue(parent, (PyElement)declaration);
        }
      }
    }
@Override
    public void visitPyReferenceExpression(final @NotNull PyReferenceExpression node)