add superclass and copy method to codegen impl.
Merge branch 'new-codegen-model' of github.com:mkarneim/pojobuilder into new-codegen-model