Factory implementation code must be generated as xtend file if xtend option is chosen.
Currently it is generated as java code. The problem is that when the user overrides it with xtend code, the java code is generated as well...
Keep factory interface code generation as java code.