cleanup related to issue 395. rather than using Guice.createInjectorBuilder, use "new InjectorBuilder()". deprecated methods in Guice that took the Stage parameter. (didn't deprecate other methods because it's still a good easy-to-use way to start getting into Guice.) added more tests to JitBindingsTest for @Provides, child injectors & private modules (private modules was broken!). rolled passing around Injector options (stage, jitDisabled) into a new InjectorOptions class to prevent those things from breaking again in the future. renamed InjectorBuilderImpl to InternalInjectorCreator because it has to be public for InjectorBuilder to use it, and didn't want to confuse auto-complete IDEs into offering InjectorBuilderImpl as an option.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1142 d779f126-a31b-0410-b53b-1d3aecad763e
11 files changed