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

dagger.internal.codegen.writing.ProviderInstanceSupplier_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 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(ContributionBinding 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(ContributionBinding binding,
      ComponentImplementation componentImplementation,
      Object unscopedFrameworkInstanceCreationExpressionFactory, Object bindingRepresentations) {
    return new ProviderInstanceSupplier(binding, componentImplementation, (UnscopedFrameworkInstanceCreationExpressionFactory) unscopedFrameworkInstanceCreationExpressionFactory, (BindingRepresentations) bindingRepresentations);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy