In my xtext project I would like to have multiple IJvmModelInferrer implementations and programmatically choose which one is to be used at runtime, perhaps initially by a hard-wired configuration, and then perhaps from the gui at some future point.

But the key point is that only one inferrer gets used, and the choice is configurable.

I see that by default, there is a generated 'Abstract[xxx]RuntimeModule' class which defines a 'bindIJvmModelInferrer' method, this seems to be called at runtime for Guice binding.

I would appreciate any guidance or suggestions on how to go about this