Always generate code for extended entities

The extended entities from parent modules should
be generated in current module, otherwise eclipse
would fail locating fields added.