EReference opposite = r.getEOpposite();
if (opposite != null && opposite.isContainment()) {
return true;
}
} else if (property instanceof AttributeImpl) {
AttributeImpl a = (AttributeImpl) property;
if (a.isTransient())
return true;
EDataType d = (EDataType) a.getEType();
if (!d.isSerializable()) {
return true;
}
}
return false;