msgs = ((InternalEObject)newTargetPlatform).eInverseAdd(this, TargetPlatformPackage.TARGET_PLATFORM__CONTENTS, TargetPlatform.class, msgs);
msgs = basicSetTargetPlatform(newTargetPlatform, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TargetPlatformPackage.INCLUDE_DECLARATION__TARGET_PLATFORM, newTargetPlatform, newTargetPlatform));
}