dagger.internal.codegen.writing.ProducerCreationExpression_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.
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.ProductionBinding;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProducerCreationExpression_Factory {
private final Provider componentImplementationProvider;
private final Provider componentRequestRepresentationsProvider;
public ProducerCreationExpression_Factory(
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.componentRequestRepresentationsProvider = componentRequestRepresentationsProvider;
}
public ProducerCreationExpression get(ProductionBinding binding) {
return newInstance(binding, componentImplementationProvider.get(), componentRequestRepresentationsProvider.get());
}
public static ProducerCreationExpression_Factory create(
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider) {
return new ProducerCreationExpression_Factory(componentImplementationProvider, componentRequestRepresentationsProvider);
}
public static ProducerCreationExpression newInstance(ProductionBinding binding,
ComponentImplementation componentImplementation,
ComponentRequestRepresentations componentRequestRepresentations) {
return new ProducerCreationExpression(binding, componentImplementation, componentRequestRepresentations);
}
}