Fixed 'unchecked' warnings.
Set up a first version of a code generator which is executed in the 'generate-sources' maven phase.