Works for private objects. Code generated is modular : if field is public, we access it directly, if not, we generate an accessor. TODO private primitives, and static.