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

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

The 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.ContributionBinding;
import javax.inject.Provider;

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

  private final Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider;

  private final Provider producerNodeInstanceRequestRepresentationFactoryProvider;

  private final Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider;

  private final Provider bindingRepresentationsProvider;

  public ProductionBindingRepresentation_Factory(
      Provider componentImplementationProvider,
      Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider,
      Provider producerNodeInstanceRequestRepresentationFactoryProvider,
      Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
      Provider bindingRepresentationsProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
    this.derivedFromFrameworkInstanceRequestRepresentationFactoryProvider = derivedFromFrameworkInstanceRequestRepresentationFactoryProvider;
    this.producerNodeInstanceRequestRepresentationFactoryProvider = producerNodeInstanceRequestRepresentationFactoryProvider;
    this.unscopedFrameworkInstanceCreationExpressionFactoryProvider = unscopedFrameworkInstanceCreationExpressionFactoryProvider;
    this.bindingRepresentationsProvider = bindingRepresentationsProvider;
  }

  public ProductionBindingRepresentation get(ContributionBinding binding) {
    return newInstance(binding, componentImplementationProvider.get(), derivedFromFrameworkInstanceRequestRepresentationFactoryProvider.get(), producerNodeInstanceRequestRepresentationFactoryProvider.get(), unscopedFrameworkInstanceCreationExpressionFactoryProvider.get(), bindingRepresentationsProvider.get());
  }

  public static ProductionBindingRepresentation_Factory create(
      Provider componentImplementationProvider,
      Provider derivedFromFrameworkInstanceRequestRepresentationFactoryProvider,
      Provider producerNodeInstanceRequestRepresentationFactoryProvider,
      Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
      Provider bindingRepresentationsProvider) {
    return new ProductionBindingRepresentation_Factory(componentImplementationProvider, derivedFromFrameworkInstanceRequestRepresentationFactoryProvider, producerNodeInstanceRequestRepresentationFactoryProvider, unscopedFrameworkInstanceCreationExpressionFactoryProvider, bindingRepresentationsProvider);
  }

  public static ProductionBindingRepresentation newInstance(ContributionBinding binding,
      ComponentImplementation componentImplementation,
      Object derivedFromFrameworkInstanceRequestRepresentationFactory,
      Object producerNodeInstanceRequestRepresentationFactory,
      Object unscopedFrameworkInstanceCreationExpressionFactory, Object bindingRepresentations) {
    return new ProductionBindingRepresentation(binding, componentImplementation, (DerivedFromFrameworkInstanceRequestRepresentation.Factory) derivedFromFrameworkInstanceRequestRepresentationFactory, (ProducerNodeInstanceRequestRepresentation.Factory) producerNodeInstanceRequestRepresentationFactory, (UnscopedFrameworkInstanceCreationExpressionFactory) unscopedFrameworkInstanceCreationExpressionFactory, (BindingRepresentations) bindingRepresentations);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy