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:
ProviderMethod
public interface HasDependencies
- Since:
- 2.0
- Author:
- jessewilson@google.com (Jesse Wilson)
-
Method Summary
Modifier and TypeMethodDescriptionSet<Dependency<?>> Returns the known dependencies for this type.
-
Method Details
-
getDependencies
Set<Dependency<?>> getDependencies()Returns the known dependencies for this type. If this has dependencies whose values are not known statically, a dependency for theInjectorwill be included in the returned set.- Returns:
- a possibly empty set
-