An example to generate Java source code with CodeModel