dagger.internal.codegen.writing.ProducerFromProviderCreationExpression_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 com.squareup.javapoet.ClassName;
import dagger.internal.DaggerGenerated;
import dagger.internal.InstanceFactory;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProducerFromProviderCreationExpression_Factory_Impl implements ProducerFromProviderCreationExpression.Factory {
private final ProducerFromProviderCreationExpression_Factory delegateFactory;
ProducerFromProviderCreationExpression_Factory_Impl(
ProducerFromProviderCreationExpression_Factory delegateFactory) {
this.delegateFactory = delegateFactory;
}
@Override
public ProducerFromProviderCreationExpression create(
RequestRepresentation providerRequestRepresentation, ClassName requestingClass) {
return delegateFactory.get(providerRequestRepresentation, requestingClass);
}
public static Provider create(
ProducerFromProviderCreationExpression_Factory delegateFactory) {
return InstanceFactory.create(new ProducerFromProviderCreationExpression_Factory_Impl(delegateFactory));
}
public static dagger.internal.Provider createFactoryProvider(
ProducerFromProviderCreationExpression_Factory delegateFactory) {
return InstanceFactory.create(new ProducerFromProviderCreationExpression_Factory_Impl(delegateFactory));
}
}