code: public void setRight(Expression newRight)
    {
      if (newRight != right)
      {
        NotificationChain msgs = null;
        if (right != null)
          msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.AND_EXPRESSION__RIGHT, null, msgs);
        if (newRight != null)
          msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.AND_EXPRESSION__RIGHT, null, msgs);
        msgs = basicSetRight(newRight, msgs);
        if (msgs != null) msgs.dispatch();
      }
      else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.AND_EXPRESSION__RIGHT, newRight, newRight));
    }
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated