/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setIndex(int newIndex) { int oldIndex = index; index = newIndex; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, PatternLanguagePackage.PATH_EXPRESSION_TAIL__INDEX, oldIndex, index)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setClosure(boolean newClosure) { boolean oldClosure = closure; closure = newClosure; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, PatternLanguagePackage.PATH_EXPRESSION_TAIL__CLOSURE, oldClosure, closure)); }