docs: @Override
  	public void setGuard(XExpression newGuard)
  	{
  		if (newGuard != guard)
  		{
  			NotificationChain msgs = null;
  			if (guard != null)
  				msgs = ((InternalEObject)guard).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SarlPackage.SARL_BEHAVIOR_UNIT__GUARD, null, msgs);
  			if (newGuard != null)
  				msgs = ((InternalEObject)newGuard).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SarlPackage.SARL_BEHAVIOR_UNIT__GUARD, null, msgs);
  			msgs = basicSetGuard(newGuard, msgs);
  			if (msgs != null) msgs.dispatch();
  		}
  		else if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, SarlPackage.SARL_BEHAVIOR_UNIT__GUARD, newGuard, newGuard));
  	}