dagger.internal.codegen.writing.DependencyMethodProducerCreationExpression_Factory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
// 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.BindingGraph;
import dagger.internal.codegen.binding.ContributionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class DependencyMethodProducerCreationExpression_Factory {
private final Provider componentImplementationProvider;
private final Provider componentRequirementExpressionsProvider;
private final Provider graphProvider;
public DependencyMethodProducerCreationExpression_Factory(
Provider componentImplementationProvider,
Provider componentRequirementExpressionsProvider,
Provider graphProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.componentRequirementExpressionsProvider = componentRequirementExpressionsProvider;
this.graphProvider = graphProvider;
}
public DependencyMethodProducerCreationExpression get(ContributionBinding binding) {
return newInstance(binding, componentImplementationProvider.get(), componentRequirementExpressionsProvider.get(), graphProvider.get());
}
public static DependencyMethodProducerCreationExpression_Factory create(
Provider componentImplementationProvider,
Provider componentRequirementExpressionsProvider,
Provider graphProvider) {
return new DependencyMethodProducerCreationExpression_Factory(componentImplementationProvider, componentRequirementExpressionsProvider, graphProvider);
}
public static DependencyMethodProducerCreationExpression newInstance(ContributionBinding binding,
ComponentImplementation componentImplementation,
ComponentRequirementExpressions componentRequirementExpressions, BindingGraph graph) {
return new DependencyMethodProducerCreationExpression(binding, componentImplementation, componentRequirementExpressions, graph);
}
}