dagger.internal.codegen.writing.ComponentRequirementExpressions_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.Factory;
import dagger.internal.codegen.binding.BindingGraph;
import java.util.Optional;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ComponentRequirementExpressions_Factory implements Factory {
private final Provider> parentProvider;
private final Provider graphProvider;
private final Provider componentImplementationProvider;
public ComponentRequirementExpressions_Factory(
Provider> parentProvider,
Provider graphProvider,
Provider componentImplementationProvider) {
this.parentProvider = parentProvider;
this.graphProvider = graphProvider;
this.componentImplementationProvider = componentImplementationProvider;
}
@Override
public ComponentRequirementExpressions get() {
return newInstance(parentProvider.get(), graphProvider.get(), componentImplementationProvider.get());
}
public static ComponentRequirementExpressions_Factory create(
Provider> parentProvider,
Provider graphProvider,
Provider componentImplementationProvider) {
return new ComponentRequirementExpressions_Factory(parentProvider, graphProvider, componentImplementationProvider);
}
public static ComponentRequirementExpressions newInstance(
Optional parent, BindingGraph graph,
ComponentImplementation componentImplementation) {
return new ComponentRequirementExpressions(parent, graph, componentImplementation);
}
}