Package com.google.inject.spi
Interface HasDependencies
- All Known Subinterfaces:
CheckedProviderWithDependencies<T>
,ConstructorBinding<T>
,ConvertedConstantBinding<T>
,ExposedBinding<T>
,InstanceBinding<T>
,ProviderInstanceBinding<T>
,ProviderWithDependencies<T>
,ProvidesMethodBinding<T>
- All Known Implementing Classes:
CheckedProviderMethod
,ConstructorBindingImpl
,ExposedBindingImpl
,FactoryProvider
,FactoryProvider2
,InjectorImpl.ConvertedConstantBindingImpl
,InjectorImpl.SyntheticProviderBindingImpl
,InstanceBindingImpl
,InternalProviderInstanceBindingImpl
,InternalProviderInstanceBindingImpl.CyclicFactory
,InternalProviderInstanceBindingImpl.Factory
,LinkedBindingImpl
,LinkedProviderBindingImpl
,ProviderInstanceBindingImpl
,ProviderMethod
,ProviderMethod.FastClassProviderMethod
,ProviderMethod.ReflectionProviderMethod
,Providers.GuicifiedProviderWithDependencies
,RealMapBinder.ExtensionRealMapProvider
,RealMapBinder.MultimapBinder.RealMultimapProvider
,RealMapBinder.MultimapBinder.RealProviderMultimapProvider
,RealMapBinder.ProviderMapEntry
,RealMapBinder.RealMapBinderProviderWithDependencies
,RealMapBinder.RealMapProvider
,RealMapBinder.RealMultimapBinderProviderWithDependencies
,RealMapBinder.RealProviderMapProvider
,RealMultibinder.BaseFactory
,RealMultibinder.ExtensionRealMultibinderProvider
,RealMultibinder.RealMultibinderCollectionOfProvidersProvider
,RealMultibinder.RealMultibinderProvider
,RealOptionalBinder.JavaOptionalProvider
,RealOptionalBinder.JavaOptionalProviderProvider
,RealOptionalBinder.RealDirectTypeProvider
,RealOptionalBinder.RealOptionalBinderProviderWithDependencies
,RealOptionalBinder.RealOptionalKeyProvider
,RealOptionalBinder.RealOptionalProviderProvider
public interface HasDependencies
- Since:
- 2.0
-
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 theInjector
will be included in the returned set.- Returns:
- a possibly empty set
-