All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.validation.BindingMethodValidatorsModule_IndexValidatorsFactory Maven / Gradle / Ivy

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.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class BindingMethodValidatorsModule_IndexValidatorsFactory implements Factory> {
  private final Provider providesMethodValidatorProvider;

  private final Provider producesMethodValidatorProvider;

  private final Provider bindsMethodValidatorProvider;

  private final Provider multibindsMethodValidatorProvider;

  private final Provider bindsOptionalOfMethodValidatorProvider;

  public BindingMethodValidatorsModule_IndexValidatorsFactory(
      Provider providesMethodValidatorProvider,
      Provider producesMethodValidatorProvider,
      Provider bindsMethodValidatorProvider,
      Provider multibindsMethodValidatorProvider,
      Provider bindsOptionalOfMethodValidatorProvider) {
    this.providesMethodValidatorProvider = providesMethodValidatorProvider;
    this.producesMethodValidatorProvider = producesMethodValidatorProvider;
    this.bindsMethodValidatorProvider = bindsMethodValidatorProvider;
    this.multibindsMethodValidatorProvider = multibindsMethodValidatorProvider;
    this.bindsOptionalOfMethodValidatorProvider = bindsOptionalOfMethodValidatorProvider;
  }

  @Override
  public ImmutableMap get() {
    return indexValidators(providesMethodValidatorProvider.get(), producesMethodValidatorProvider.get(), bindsMethodValidatorProvider.get(), multibindsMethodValidatorProvider.get(), bindsOptionalOfMethodValidatorProvider.get());
  }

  public static BindingMethodValidatorsModule_IndexValidatorsFactory create(
      Provider providesMethodValidatorProvider,
      Provider producesMethodValidatorProvider,
      Provider bindsMethodValidatorProvider,
      Provider multibindsMethodValidatorProvider,
      Provider bindsOptionalOfMethodValidatorProvider) {
    return new BindingMethodValidatorsModule_IndexValidatorsFactory(providesMethodValidatorProvider, producesMethodValidatorProvider, bindsMethodValidatorProvider, multibindsMethodValidatorProvider, bindsOptionalOfMethodValidatorProvider);
  }

  public static ImmutableMap indexValidators(
      Object providesMethodValidator, Object producesMethodValidator, Object bindsMethodValidator,
      Object multibindsMethodValidator, Object bindsOptionalOfMethodValidator) {
    return Preconditions.checkNotNullFromProvides(BindingMethodValidatorsModule.indexValidators((ProvidesMethodValidator) providesMethodValidator, (ProducesMethodValidator) producesMethodValidator, (BindsMethodValidator) bindsMethodValidator, (MultibindsMethodValidator) multibindsMethodValidator, (BindsOptionalOfMethodValidator) bindsOptionalOfMethodValidator));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy