InternalEObject eObject = (InternalEObject)object;
EObject eContainer = eObject.eContainer();
boolean result =
eContainer == owner &&
(hasNavigableInverse() ?
eObject.eBaseStructuralFeatureID(eObject.eContainerFeatureID(), getInverseFeatureClass()) == getInverseFeatureID() :
InternalEObject.EOPPOSITE_FEATURE_BASE - eObject.eContainerFeatureID() == getFeatureID());
if (hasProxies() && !result && eContainer == null && eObject.eDirectResource() != null)
{
for (int i = 0; i < size; ++i)
{