notifications = ((InternalEObject)resolved).eInverseAdd(owner, resolved.eClass().getFeatureID(opposite), null, notifications);
}
else if (reference.isContainment())
{
int inverseFeatureID = InternalEObject.EOPPOSITE_FEATURE_BASE - owner.eClass().getFeatureID(reference);
notifications = object.eInverseRemove(owner, inverseFeatureID, null, null);
if (((InternalEObject)resolved).eInternalContainer() == null)
{
notifications = ((InternalEObject)resolved).eInverseAdd(owner, inverseFeatureID, null, notifications);
}
}