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

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

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.ContributionBinding;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
import javax.annotation.Generated;
import javax.inject.Provider;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class ProviderInstanceBindingExpression_Factory {
  private final Provider typesProvider;

  private final Provider elementsProvider;

  public ProviderInstanceBindingExpression_Factory(Provider typesProvider,
      Provider elementsProvider) {
    this.typesProvider = typesProvider;
    this.elementsProvider = elementsProvider;
  }

  public ProviderInstanceBindingExpression get(ContributionBinding binding,
      FrameworkInstanceSupplier frameworkInstanceSupplier) {
    return newInstance(binding, frameworkInstanceSupplier, typesProvider.get(), elementsProvider.get());
  }

  public static ProviderInstanceBindingExpression_Factory create(
      Provider typesProvider, Provider elementsProvider) {
    return new ProviderInstanceBindingExpression_Factory(typesProvider, elementsProvider);
  }

  public static ProviderInstanceBindingExpression newInstance(ContributionBinding binding,
      Object frameworkInstanceSupplier, DaggerTypes types, DaggerElements elements) {
    return new ProviderInstanceBindingExpression(binding, (FrameworkInstanceSupplier) frameworkInstanceSupplier, types, elements);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy