so you mean, I have to override the "generate" method and call the second generator manually before or after the super() call?
In this case I will have also to take care myself of the injections within the second generator. Is it really the official way to do this
or I just miss something?
i dont get your problem. subclass the jvmmodelgenerator. override org.eclipse.xtext.xbase.compiler.JvmModelGenerator.doGenerate(Resource, IFileSystemAccess)
or dispatch into org.eclipse.xtext.xbase.compiler.JvmModelGenerator.internalDoGenerate(EObject, IFileSystemAccess)
and simply bind it.
thats all. there is nothing special. so "official way" since it is trivial that none even thinks of one
and why take care of injections? there is nothing different to other injections