dagger.internal.codegen.writing.DelegateRequestRepresentation_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.
The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.InstanceFactory;
import dagger.internal.codegen.binding.DelegateBinding;
import dagger.internal.codegen.model.RequestKind;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class DelegateRequestRepresentation_Factory_Impl implements DelegateRequestRepresentation.Factory {
private final DelegateRequestRepresentation_Factory delegateFactory;
DelegateRequestRepresentation_Factory_Impl(
DelegateRequestRepresentation_Factory delegateFactory) {
this.delegateFactory = delegateFactory;
}
@Override
public DelegateRequestRepresentation create(DelegateBinding binding, RequestKind requestKind) {
return delegateFactory.get(binding, requestKind);
}
public static Provider create(
DelegateRequestRepresentation_Factory delegateFactory) {
return InstanceFactory.create(new DelegateRequestRepresentation_Factory_Impl(delegateFactory));
}
public static dagger.internal.Provider createFactoryProvider(
DelegateRequestRepresentation_Factory delegateFactory) {
return InstanceFactory.create(new DelegateRequestRepresentation_Factory_Impl(delegateFactory));
}
}