Package com.google.inject.util
Class Providers.GuicifiedProviderWithDependencies<T>
java.lang.Object
com.google.inject.util.Providers.GuicifiedProvider<T>
com.google.inject.util.Providers.GuicifiedProviderWithDependencies<T>
- All Implemented Interfaces:
Provider<T>
,HasDependencies
,ProviderWithDependencies<T>
,javax.inject.Provider<T>
- Enclosing class:
Providers
private static final class Providers.GuicifiedProviderWithDependencies<T>
extends Providers.GuicifiedProvider<T>
implements ProviderWithDependencies<T>
-
Field Summary
FieldsFields inherited from class com.google.inject.util.Providers.GuicifiedProvider
delegate
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
GuicifiedProviderWithDependencies
(Set<Dependency<?>> dependencies, javax.inject.Provider<T> delegate) -
Method Summary
Modifier and TypeMethodDescriptionSet
<Dependency<?>> Returns the known dependencies for this type.(package private) void
initialize
(Injector injector) Methods inherited from class com.google.inject.util.Providers.GuicifiedProvider
equals, get, hashCode, toString
-
Field Details
-
dependencies
-
-
Constructor Details
-
GuicifiedProviderWithDependencies
private GuicifiedProviderWithDependencies(Set<Dependency<?>> dependencies, javax.inject.Provider<T> delegate)
-
-
Method Details
-
initialize
-
getDependencies
Description copied from interface:HasDependencies
Returns the known dependencies for this type. If this has dependencies whose values are not known statically, a dependency for theInjector
will be included in the returned set.- Specified by:
getDependencies
in interfaceHasDependencies
- Returns:
- a possibly empty set
-