public interface

HasDependencies

com.google.inject.spi.HasDependencies
Known Indirect Subclasses

Class Overview

Implemented by bindings, providers and instances that expose their dependencies explicitly.

Summary

Public Methods
abstract Set<Dependency<?>> getDependencies()
Returns the known dependencies for this type.

Public Methods

public abstract Set<Dependency<?>> getDependencies ()

Returns the known dependencies for this type. If this has dependencies whose values are not known statically, a dependency for the Injector will be included in the returned set.

Returns
  • a possibly empty set