dagger.internal.codegen.writing.DirectInstanceBindingRepresentation_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.
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.ProvisionBinding;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class DirectInstanceBindingRepresentation_Factory {
private final Provider graphProvider;
private final Provider componentImplementationProvider;
private final Provider componentMethodRequestRepresentationFactoryProvider;
private final Provider immediateFutureRequestRepresentationFactoryProvider;
private final Provider privateMethodRequestRepresentationFactoryProvider;
private final Provider unscopedDirectInstanceRequestRepresentationFactoryProvider;
public DirectInstanceBindingRepresentation_Factory(Provider graphProvider,
Provider componentImplementationProvider,
Provider componentMethodRequestRepresentationFactoryProvider,
Provider immediateFutureRequestRepresentationFactoryProvider,
Provider privateMethodRequestRepresentationFactoryProvider,
Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
this.graphProvider = graphProvider;
this.componentImplementationProvider = componentImplementationProvider;
this.componentMethodRequestRepresentationFactoryProvider = componentMethodRequestRepresentationFactoryProvider;
this.immediateFutureRequestRepresentationFactoryProvider = immediateFutureRequestRepresentationFactoryProvider;
this.privateMethodRequestRepresentationFactoryProvider = privateMethodRequestRepresentationFactoryProvider;
this.unscopedDirectInstanceRequestRepresentationFactoryProvider = unscopedDirectInstanceRequestRepresentationFactoryProvider;
}
public DirectInstanceBindingRepresentation get(ProvisionBinding binding) {
return newInstance(binding, graphProvider.get(), componentImplementationProvider.get(), componentMethodRequestRepresentationFactoryProvider.get(), immediateFutureRequestRepresentationFactoryProvider.get(), privateMethodRequestRepresentationFactoryProvider.get(), unscopedDirectInstanceRequestRepresentationFactoryProvider.get());
}
public static DirectInstanceBindingRepresentation_Factory create(
Provider graphProvider,
Provider componentImplementationProvider,
Provider componentMethodRequestRepresentationFactoryProvider,
Provider immediateFutureRequestRepresentationFactoryProvider,
Provider privateMethodRequestRepresentationFactoryProvider,
Provider unscopedDirectInstanceRequestRepresentationFactoryProvider) {
return new DirectInstanceBindingRepresentation_Factory(graphProvider, componentImplementationProvider, componentMethodRequestRepresentationFactoryProvider, immediateFutureRequestRepresentationFactoryProvider, privateMethodRequestRepresentationFactoryProvider, unscopedDirectInstanceRequestRepresentationFactoryProvider);
}
public static DirectInstanceBindingRepresentation newInstance(ProvisionBinding binding,
BindingGraph graph, ComponentImplementation componentImplementation,
Object componentMethodRequestRepresentationFactory,
Object immediateFutureRequestRepresentationFactory,
Object privateMethodRequestRepresentationFactory,
Object unscopedDirectInstanceRequestRepresentationFactory) {
return new DirectInstanceBindingRepresentation(binding, graph, componentImplementation, (ComponentMethodRequestRepresentation.Factory) componentMethodRequestRepresentationFactory, (ImmediateFutureRequestRepresentation.Factory) immediateFutureRequestRepresentationFactory, (PrivateMethodRequestRepresentation.Factory) privateMethodRequestRepresentationFactory, (UnscopedDirectInstanceRequestRepresentationFactory) unscopedDirectInstanceRequestRepresentationFactory);
}
}