Top Deprecated
Google Guice - Core Library 7.0.0

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
com.google.inject.matcher.AbstractMatcher<T>

This class used to be useful to avoid implementing and() and or() yourself, but is no longer necessary now that Matcher implements these methods.

com.google.inject.matcher.Matchers.AndMatcher<T>

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.AnnotatedWith

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.AnnotatedWithType

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.Any

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.IdenticalTo

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.InPackage

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.InSubpackage

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.Not<T>

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.Only

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.OrMatcher<T>

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.Returns

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

com.google.inject.matcher.Matchers.SubclassesOf

Deprecated as a consequence of AbstractMatcher being deprecated. See corresponding docs for further information.

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

com.google.inject.multibindings.MultibindingsScanner.asModule()

This functionality is now installed by default. All references/installations can be eliminated.

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.

com.google.inject.util.Modules.combine(Module module)

there's no need to "combine" one module; just install it directly.

com.google.inject.util.Modules.combine()

this method call is effectively a no-op, just remove it.

com.google.inject.util.Modules.override()

there's no reason to use Modules.override() without any arguments.

com.google.inject.util.Providers.guicify(Provider<T> provider)

Marked as deprecated as a hint to users that calling this is unnecessary, because the provider is already a guice Provider.