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

dagger.internal.codegen.writing.ProviderInstanceSupplier_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.ProvisionBinding;
import javax.inject.Provider;

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

  private final Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider;

  private final Provider bindingRepresentationsProvider;

  public ProviderInstanceSupplier_Factory(
      Provider componentImplementationProvider,
      Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
      Provider bindingRepresentationsProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
    this.unscopedFrameworkInstanceCreationExpressionFactoryProvider = unscopedFrameworkInstanceCreationExpressionFactoryProvider;
    this.bindingRepresentationsProvider = bindingRepresentationsProvider;
  }

  public ProviderInstanceSupplier get(ProvisionBinding binding) {
    return newInstance(binding, componentImplementationProvider.get(), unscopedFrameworkInstanceCreationExpressionFactoryProvider.get(), bindingRepresentationsProvider.get());
  }

  public static ProviderInstanceSupplier_Factory create(
      Provider componentImplementationProvider,
      Provider unscopedFrameworkInstanceCreationExpressionFactoryProvider,
      Provider bindingRepresentationsProvider) {
    return new ProviderInstanceSupplier_Factory(componentImplementationProvider, unscopedFrameworkInstanceCreationExpressionFactoryProvider, bindingRepresentationsProvider);
  }

  public static ProviderInstanceSupplier newInstance(ProvisionBinding binding,
      ComponentImplementation componentImplementation,
      Object unscopedFrameworkInstanceCreationExpressionFactory, Object bindingRepresentations) {
    return new ProviderInstanceSupplier(binding, componentImplementation, (UnscopedFrameworkInstanceCreationExpressionFactory) unscopedFrameworkInstanceCreationExpressionFactory, (BindingRepresentations) bindingRepresentations);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy