code: public void setTarget(XExpression newTarget)
  	{
  		if (newTarget != target)
  		{
  			NotificationChain msgs = null;
  			if (target != null)
  				msgs = ((InternalEObject)target).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XCASTED_EXPRESSION__TARGET, null, msgs);
  			if (newTarget != null)
  				msgs = ((InternalEObject)newTarget).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XbasePackage.XCASTED_EXPRESSION__TARGET, null, msgs);
  			msgs = basicSetTarget(newTarget, msgs);
  			if (msgs != null) msgs.dispatch();
  		}
  		else if (eNotificationRequired())
  			eNotify(new ENotificationImpl(this, Notification.SET, XbasePackage.XCASTED_EXPRESSION__TARGET, newTarget, newTarget));
  	}
docs: <!-- begin-user-doc -->
  <!-- end-user-doc -->
  @generated