Package com.google.inject.spi
Interface HasDependencies
-
- All Known Subinterfaces:
ConstructorBinding<T>
,ConvertedConstantBinding<T>
,ExposedBinding<T>
,InstanceBinding<T>
,ProviderInstanceBinding<T>
,ProviderWithDependencies<T>
,ProvidesMethodBinding<T>
- All Known Implementing Classes:
FactoryProvider
public interface HasDependencies
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Dependency<?>>
getDependencies()
Returns the known dependencies for this type.
-
-
-
Method Detail
-
getDependencies
Set<Dependency<?>> getDependencies()
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.- Returns:
- a possibly empty set
-
-