dagger.internal.codegen.validation.BindingMethodValidatorsModule_IndexValidatorsFactory 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.
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.Preconditions;
import java.util.Set;
import javax.annotation.Generated;
import javax.inject.Provider;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class BindingMethodValidatorsModule_IndexValidatorsFactory implements Factory> {
private final Provider> validatorsProvider;
public BindingMethodValidatorsModule_IndexValidatorsFactory(
Provider> validatorsProvider) {
this.validatorsProvider = validatorsProvider;
}
@Override
public ImmutableMap get() {
return indexValidators(validatorsProvider.get());
}
public static BindingMethodValidatorsModule_IndexValidatorsFactory create(
Provider> validatorsProvider) {
return new BindingMethodValidatorsModule_IndexValidatorsFactory(validatorsProvider);
}
public static ImmutableMap indexValidators(
Set validators) {
return Preconditions.checkNotNullFromProvides(BindingMethodValidatorsModule.indexValidators(validators));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy