dagger.internal.codegen.validation.AnyBindingMethodValidator_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 com.google.common.collect.ImmutableMap;
import com.squareup.javapoet.ClassName;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata("javax.inject.Singleton")
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class AnyBindingMethodValidator_Factory implements Factory {
private final Provider> validatorsProvider;
public AnyBindingMethodValidator_Factory(
Provider> validatorsProvider) {
this.validatorsProvider = validatorsProvider;
}
@Override
public AnyBindingMethodValidator get() {
return newInstance(validatorsProvider.get());
}
public static AnyBindingMethodValidator_Factory create(
Provider> validatorsProvider) {
return new AnyBindingMethodValidator_Factory(validatorsProvider);
}
public static AnyBindingMethodValidator newInstance(
ImmutableMap validators) {
return new AnyBindingMethodValidator(validators);
}
}