dagger.internal.codegen.writing.ComponentInstanceRequestRepresentation_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.ContributionBinding;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ComponentInstanceRequestRepresentation_Factory {
private final Provider componentImplementationProvider;
public ComponentInstanceRequestRepresentation_Factory(
Provider componentImplementationProvider) {
this.componentImplementationProvider = componentImplementationProvider;
}
public ComponentInstanceRequestRepresentation get(ContributionBinding binding) {
return newInstance(binding, componentImplementationProvider.get());
}
public static ComponentInstanceRequestRepresentation_Factory create(
Provider componentImplementationProvider) {
return new ComponentInstanceRequestRepresentation_Factory(componentImplementationProvider);
}
public static ComponentInstanceRequestRepresentation newInstance(ContributionBinding binding,
ComponentImplementation componentImplementation) {
return new ComponentInstanceRequestRepresentation(binding, componentImplementation);
}
}