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

dagger.internal.codegen.writing.ProducerCreationExpression_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 javax.annotation.Generated;
import javax.inject.Provider;

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

  private final Provider componentBindingExpressionsProvider;

  public ProducerCreationExpression_Factory(
      Provider componentImplementationProvider,
      Provider componentBindingExpressionsProvider) {
    this.componentImplementationProvider = componentImplementationProvider;
    this.componentBindingExpressionsProvider = componentBindingExpressionsProvider;
  }

  public ProducerCreationExpression get(ContributionBinding binding) {
    return newInstance(binding, componentImplementationProvider.get(), componentBindingExpressionsProvider.get());
  }

  public static ProducerCreationExpression_Factory create(
      Provider componentImplementationProvider,
      Provider componentBindingExpressionsProvider) {
    return new ProducerCreationExpression_Factory(componentImplementationProvider, componentBindingExpressionsProvider);
  }

  public static ProducerCreationExpression newInstance(ContributionBinding binding,
      ComponentImplementation componentImplementation,
      ComponentBindingExpressions componentBindingExpressions) {
    return new ProducerCreationExpression(binding, componentImplementation, componentBindingExpressions);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy