dagger.internal.codegen.writing.ComponentMethodRequestRepresentation_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.
The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.ComponentDescriptor;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ComponentMethodRequestRepresentation_Factory {
private final Provider componentImplementationProvider;
private final Provider processingEnvProvider;
public ComponentMethodRequestRepresentation_Factory(
Provider componentImplementationProvider,
Provider processingEnvProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.processingEnvProvider = processingEnvProvider;
}
public ComponentMethodRequestRepresentation get(
RequestRepresentation wrappedRequestRepresentation,
ComponentDescriptor.ComponentMethodDescriptor componentMethod) {
return newInstance(wrappedRequestRepresentation, componentMethod, componentImplementationProvider.get(), processingEnvProvider.get());
}
public static ComponentMethodRequestRepresentation_Factory create(
Provider componentImplementationProvider,
Provider processingEnvProvider) {
return new ComponentMethodRequestRepresentation_Factory(componentImplementationProvider, processingEnvProvider);
}
public static ComponentMethodRequestRepresentation newInstance(
Object wrappedRequestRepresentation,
ComponentDescriptor.ComponentMethodDescriptor componentMethod,
ComponentImplementation componentImplementation, XProcessingEnv processingEnv) {
return new ComponentMethodRequestRepresentation((RequestRepresentation) wrappedRequestRepresentation, componentMethod, componentImplementation, processingEnv);
}
}