dagger.internal.codegen.writing.ProviderInstanceRequestRepresentation_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 androidx.room.compiler.processing.XProcessingEnv;
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 ProviderInstanceRequestRepresentation_Factory {
private final Provider switchingProviderInstanceSupplierFactoryProvider;
private final Provider staticFactoryInstanceSupplierFactoryProvider;
private final Provider providerInstanceSupplierFactoryProvider;
private final Provider componentImplementationProvider;
private final Provider processingEnvProvider;
public ProviderInstanceRequestRepresentation_Factory(
Provider switchingProviderInstanceSupplierFactoryProvider,
Provider staticFactoryInstanceSupplierFactoryProvider,
Provider providerInstanceSupplierFactoryProvider,
Provider componentImplementationProvider,
Provider processingEnvProvider) {
this.switchingProviderInstanceSupplierFactoryProvider = switchingProviderInstanceSupplierFactoryProvider;
this.staticFactoryInstanceSupplierFactoryProvider = staticFactoryInstanceSupplierFactoryProvider;
this.providerInstanceSupplierFactoryProvider = providerInstanceSupplierFactoryProvider;
this.componentImplementationProvider = componentImplementationProvider;
this.processingEnvProvider = processingEnvProvider;
}
public ProviderInstanceRequestRepresentation get(ContributionBinding binding) {
return newInstance(binding, switchingProviderInstanceSupplierFactoryProvider.get(), staticFactoryInstanceSupplierFactoryProvider.get(), providerInstanceSupplierFactoryProvider.get(), componentImplementationProvider.get(), processingEnvProvider.get());
}
public static ProviderInstanceRequestRepresentation_Factory create(
Provider switchingProviderInstanceSupplierFactoryProvider,
Provider staticFactoryInstanceSupplierFactoryProvider,
Provider providerInstanceSupplierFactoryProvider,
Provider componentImplementationProvider,
Provider processingEnvProvider) {
return new ProviderInstanceRequestRepresentation_Factory(switchingProviderInstanceSupplierFactoryProvider, staticFactoryInstanceSupplierFactoryProvider, providerInstanceSupplierFactoryProvider, componentImplementationProvider, processingEnvProvider);
}
public static ProviderInstanceRequestRepresentation newInstance(ContributionBinding binding,
Object switchingProviderInstanceSupplierFactory, Object staticFactoryInstanceSupplierFactory,
Object providerInstanceSupplierFactory, ComponentImplementation componentImplementation,
XProcessingEnv processingEnv) {
return new ProviderInstanceRequestRepresentation(binding, (SwitchingProviderInstanceSupplier.Factory) switchingProviderInstanceSupplierFactory, (StaticFactoryInstanceSupplier.Factory) staticFactoryInstanceSupplierFactory, (ProviderInstanceSupplier.Factory) providerInstanceSupplierFactory, componentImplementation, processingEnv);
}
}