Allows the following @Inject @Nullable MyService myService; If myService does not have a binding defined, 1) catch CreationException 2) remove the binding from the module using Guice SPI. 3) restart guice @Nullable marks an injection as optionnal
Allows the following
@Inject @nullable
MyService myService;
If myService does not have a binding defined,
@nullable marks an injection as optionnal