Class and Description |
---|
com.google.inject.spi.DependencyAndSource
The only use of this object is for
ProvisionListener.ProvisionInvocation.getDependencyChain() which is also deprecated. This
object will also be removed in Guice 4.4. |
com.google.inject.multibindings.MultibindingsScanner
This functionality is installed by default. All references to this can be safely
removed. This class will be removed in Guice 4.4
|
Method and Description |
---|
com.google.inject.multibindings.MultibindingsScanner.asModule()
This functionality is now installed by default. All references/installations can be
eliminated.
|
com.google.inject.util.Modules.combine()
this method call is effectively a no-op, just remove it.
|
com.google.inject.util.Modules.combine(Module)
there's no need to "combine" one module; just install it directly.
|
com.google.inject.spi.ProvisionListener.ProvisionInvocation.getDependencyChain()
This method is planned for removal in Guice 4.4. Some use cases can be replaced
by inferring the current chain via ThreadLocals in the listener, other use cases can use
the static dependency graph. For example,
|
com.google.inject.spi.ProviderInstanceBinding.getProviderInstance()
Use
ProviderInstanceBinding.getUserSuppliedProvider() instead. |
com.google.inject.util.Modules.override()
there's no reason to use
Modules.override() without any arguments. |
com.google.inject.multibindings.MultibindingsScanner.scanner()
This method returns an empty scanner since the preexisting functionality is
installed by default.
|
com.google.inject.util.Modules.OverriddenModuleBuilder.with()
there's no reason to use
.with() without any arguments. |
Copyright © 2006–2020 Google, Inc.. All rights reserved.