Class Providers.GuicifiedProviderWithDependencies<T>

java.lang.Object
com.google.inject.util.Providers.GuicifiedProvider<T>
com.google.inject.util.Providers.GuicifiedProviderWithDependencies<T>
All Implemented Interfaces:
Provider<T>, HasDependencies, ProviderWithDependencies<T>, javax.inject.Provider<T>
Enclosing class:
Providers

private static final class Providers.GuicifiedProviderWithDependencies<T> extends Providers.GuicifiedProvider<T> implements ProviderWithDependencies<T>
  • Field Details

  • Constructor Details

    • GuicifiedProviderWithDependencies

      private GuicifiedProviderWithDependencies(Set<Dependency<?>> dependencies, javax.inject.Provider<T> delegate)
  • Method Details

    • initialize

      @Inject void initialize(Injector injector)
    • getDependencies

      public Set<Dependency<?>> getDependencies()
      Description copied from interface: HasDependencies
      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.
      Specified by:
      getDependencies in interface HasDependencies
      Returns:
      a possibly empty set