All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.writing.SwitchingProviderInstanceSupplier_Factory Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.ProvisionBinding;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class SwitchingProviderInstanceSupplier_Factory {
  private final Provider graphProvider;

  private final Provider componentImplementationProvider;

  private final Provider unscopedDirectInstanceRequestRepresentationFactoryProvider;

  public SwitchingProviderInstanceSupplier_Factory(Provider graphProvider,
      Provider componentImplementationProvider,
      Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
    this.graphProvider = graphProvider;
    this.componentImplementationProvider = componentImplementationProvider;
    this.unscopedDirectInstanceRequestRepresentationFactoryProvider = unscopedDirectInstanceRequestRepresentationFactoryProvider;
  }

  public SwitchingProviderInstanceSupplier get(ProvisionBinding binding) {
    return newInstance(binding, graphProvider.get(), componentImplementationProvider.get(), unscopedDirectInstanceRequestRepresentationFactoryProvider.get());
  }

  public static SwitchingProviderInstanceSupplier_Factory create(
      Provider graphProvider,
      Provider componentImplementationProvider,
      Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
    return new SwitchingProviderInstanceSupplier_Factory(graphProvider, componentImplementationProvider, unscopedDirectInstanceRequestRepresentationFactoryProvider);
  }

  public static SwitchingProviderInstanceSupplier newInstance(ProvisionBinding binding,
      BindingGraph graph, ComponentImplementation componentImplementation,
      Object unscopedDirectInstanceRequestRepresentationFactory) {
    return new SwitchingProviderInstanceSupplier(binding, graph, componentImplementation, (UnscopedDirectInstanceRequestRepresentationFactory) unscopedDirectInstanceRequestRepresentationFactory);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy