That's a final method in EOCustomObject so the compiler is complaining when I try to override it.
As a side note...
@Override
public void setObject(EOEnterpriseObject eo) {
setEditingContext((eo != null) ? eo.editingContext() : null);
// for SmartAssignment
d2wContext().takeValueForKey(eo, Keys.object);
/*
* Storing the EO in the D2WComponent field prevents serialization. The
* ec must be serialized before the EO. So we store the value in the
* context instead.
*/
//super.setObject(eo);
d2wContext().takeValueForKey(eo, Keys.object);
}
Do you know why it calls takeValueForKey twice on the d2wcontext? Do you think that's on purpose or a mistake?