* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetDeclaration(methodDecl newDeclaration, NotificationChain msgs)
{
methodDecl oldDeclaration = declaration;
declaration = newDeclaration;
if (eNotificationRequired())
{
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, S3DPackage.METHOD__DECLARATION, oldDeclaration, newDeclaration);
if (msgs == null) msgs = notification; else msgs.add(notification);