* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setSourcefragment(SourceFragment newSourcefragment) {
SourceFragment oldSourcefragment = sourcefragment;
sourcefragment = newSourcefragment;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, TaskPackage.COMPILATION_UNIT__SOURCEFRAGMENT, oldSourcefragment, sourcefragment));
}