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

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

There is a newer version: 2.54
Show newest version
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