dagger.internal.codegen.validation.ProvidesMethodValidator_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.validation;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.InjectionAnnotations;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProvidesMethodValidator_Factory implements Factory {
private final Provider processingEnvProvider;
private final Provider dependencyRequestValidatorProvider;
private final Provider injectionAnnotationsProvider;
public ProvidesMethodValidator_Factory(Provider processingEnvProvider,
Provider dependencyRequestValidatorProvider,
Provider injectionAnnotationsProvider) {
this.processingEnvProvider = processingEnvProvider;
this.dependencyRequestValidatorProvider = dependencyRequestValidatorProvider;
this.injectionAnnotationsProvider = injectionAnnotationsProvider;
}
@Override
public ProvidesMethodValidator get() {
return newInstance(processingEnvProvider.get(), dependencyRequestValidatorProvider.get(), injectionAnnotationsProvider.get());
}
public static ProvidesMethodValidator_Factory create(
Provider processingEnvProvider,
Provider dependencyRequestValidatorProvider,
Provider injectionAnnotationsProvider) {
return new ProvidesMethodValidator_Factory(processingEnvProvider, dependencyRequestValidatorProvider, injectionAnnotationsProvider);
}
public static ProvidesMethodValidator newInstance(XProcessingEnv processingEnv,
Object dependencyRequestValidator, InjectionAnnotations injectionAnnotations) {
return new ProvidesMethodValidator(processingEnv, (DependencyRequestValidator) dependencyRequestValidator, injectionAnnotations);
}
}