dagger.internal.codegen.writing.SwitchingProviderInstanceSupplier_Factory_Impl 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.InstanceFactory;
import dagger.internal.codegen.binding.ProvisionBinding;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class SwitchingProviderInstanceSupplier_Factory_Impl implements SwitchingProviderInstanceSupplier.Factory {
private final SwitchingProviderInstanceSupplier_Factory delegateFactory;
SwitchingProviderInstanceSupplier_Factory_Impl(
SwitchingProviderInstanceSupplier_Factory delegateFactory) {
this.delegateFactory = delegateFactory;
}
@Override
public SwitchingProviderInstanceSupplier create(ProvisionBinding binding) {
return delegateFactory.get(binding);
}
public static Provider create(
SwitchingProviderInstanceSupplier_Factory delegateFactory) {
return InstanceFactory.create(new SwitchingProviderInstanceSupplier_Factory_Impl(delegateFactory));
}
public static dagger.internal.Provider createFactoryProvider(
SwitchingProviderInstanceSupplier_Factory delegateFactory) {
return InstanceFactory.create(new SwitchingProviderInstanceSupplier_Factory_Impl(delegateFactory));
}
}