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

dagger.internal.codegen.writing.ProvisionBindingRepresentation_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 ProvisionBindingRepresentation_Factory {
  private final Provider directInstanceBindingRepresentationFactoryProvider;

  private final Provider frameworkInstanceBindingRepresentationFactoryProvider;

  private final Provider graphProvider;

  private final Provider componentImplementationProvider;

  public ProvisionBindingRepresentation_Factory(
      Provider directInstanceBindingRepresentationFactoryProvider,
      Provider frameworkInstanceBindingRepresentationFactoryProvider,
      Provider graphProvider,
      Provider componentImplementationProvider) {
    this.directInstanceBindingRepresentationFactoryProvider = directInstanceBindingRepresentationFactoryProvider;
    this.frameworkInstanceBindingRepresentationFactoryProvider = frameworkInstanceBindingRepresentationFactoryProvider;
    this.graphProvider = graphProvider;
    this.componentImplementationProvider = componentImplementationProvider;
  }

  public ProvisionBindingRepresentation get(ProvisionBinding binding) {
    return newInstance(binding, directInstanceBindingRepresentationFactoryProvider.get(), frameworkInstanceBindingRepresentationFactoryProvider.get(), graphProvider.get(), componentImplementationProvider.get());
  }

  public static ProvisionBindingRepresentation_Factory create(
      Provider directInstanceBindingRepresentationFactoryProvider,
      Provider frameworkInstanceBindingRepresentationFactoryProvider,
      Provider graphProvider,
      Provider componentImplementationProvider) {
    return new ProvisionBindingRepresentation_Factory(directInstanceBindingRepresentationFactoryProvider, frameworkInstanceBindingRepresentationFactoryProvider, graphProvider, componentImplementationProvider);
  }

  public static ProvisionBindingRepresentation newInstance(ProvisionBinding binding,
      Object directInstanceBindingRepresentationFactory,
      Object frameworkInstanceBindingRepresentationFactory, BindingGraph graph,
      ComponentImplementation componentImplementation) {
    return new ProvisionBindingRepresentation(binding, (DirectInstanceBindingRepresentation.Factory) directInstanceBindingRepresentationFactory, (FrameworkInstanceBindingRepresentation.Factory) frameworkInstanceBindingRepresentationFactory, graph, componentImplementation);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy