Class DependencyAndSource

java.lang.Object
com.google.inject.spi.DependencyAndSource

@Deprecated public final class DependencyAndSource extends Object
Deprecated.
The only use of this object is for ProvisionListener.ProvisionInvocation.getDependencyChain() which is also deprecated. This object will also be removed in Guice 4.4.
A combination of a Dependency and the source where the dependency was bound.
Since:
4.0
  • Field Details

    • dependency

      private final Dependency<?> dependency
      Deprecated.
    • source

      private final Object source
      Deprecated.
  • Constructor Details

    • DependencyAndSource

      public DependencyAndSource(Dependency<?> dependency, Object source)
      Deprecated.
  • Method Details