How to use Guice’s AssistedInject?
Check the javadoc of FactoryModuleBuilder class. AssistedInject allows you to dynamically configure Factory for class instead of coding it by yourself. This is often useful when you have an object that has a dependencies that should be injected and some parameters that must be specified during creation of object. Example from the documentation is a … Read more