docs: public void setAlternatives(AbstractElement newAlternatives) {
  		if (newAlternatives != alternatives) {
  			NotificationChain msgs = null;
  			if (alternatives != null)
  				msgs = ((InternalEObject)alternatives).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XtextPackage.ABSTRACT_RULE__ALTERNATIVES, null, msgs);
  			if (newAlternatives != null)
  				msgs = ((InternalEObject)newAlternatives).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XtextPackage.ABSTRACT_RULE__ALTERNATIVES, null, msgs);
  			msgs = basicSetAlternatives(newAlternatives, msgs);
  			if (msgs != null) msgs.dispatch();
  		}
  		else if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, XtextPackage.ABSTRACT_RULE__ALTERNATIVES, newAlternatives, newAlternatives));
  	}