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

dagger.internal.codegen.MapKeyProcessingStep_Factory Maven / Gradle / Ivy

There is a newer version: 2.45-kim-rc1
Show newest version
package dagger.internal.codegen;

import androidx.room.compiler.processing.XMessager;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.validation.MapKeyValidator;
import dagger.internal.codegen.validation.SuperficialValidator;
import dagger.internal.codegen.validation.TypeCheckingProcessingStep_MembersInjector;
import dagger.internal.codegen.writing.AnnotationCreatorGenerator;
import dagger.internal.codegen.writing.UnwrappedMapKeyGenerator;
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 MapKeyProcessingStep_Factory implements Factory {
  private final Provider messagerProvider;

  private final Provider mapKeyValidatorProvider;

  private final Provider annotationCreatorGeneratorProvider;

  private final Provider unwrappedMapKeyGeneratorProvider;

  private final Provider superficialValidatorProvider;

  public MapKeyProcessingStep_Factory(Provider messagerProvider,
      Provider mapKeyValidatorProvider,
      Provider annotationCreatorGeneratorProvider,
      Provider unwrappedMapKeyGeneratorProvider,
      Provider superficialValidatorProvider) {
    this.messagerProvider = messagerProvider;
    this.mapKeyValidatorProvider = mapKeyValidatorProvider;
    this.annotationCreatorGeneratorProvider = annotationCreatorGeneratorProvider;
    this.unwrappedMapKeyGeneratorProvider = unwrappedMapKeyGeneratorProvider;
    this.superficialValidatorProvider = superficialValidatorProvider;
  }

  @Override
  public MapKeyProcessingStep get() {
    MapKeyProcessingStep instance = newInstance(messagerProvider.get(), mapKeyValidatorProvider.get(), annotationCreatorGeneratorProvider.get(), unwrappedMapKeyGeneratorProvider.get());
    TypeCheckingProcessingStep_MembersInjector.injectSuperficialValidator(instance, superficialValidatorProvider.get());
    return instance;
  }

  public static MapKeyProcessingStep_Factory create(Provider messagerProvider,
      Provider mapKeyValidatorProvider,
      Provider annotationCreatorGeneratorProvider,
      Provider unwrappedMapKeyGeneratorProvider,
      Provider superficialValidatorProvider) {
    return new MapKeyProcessingStep_Factory(messagerProvider, mapKeyValidatorProvider, annotationCreatorGeneratorProvider, unwrappedMapKeyGeneratorProvider, superficialValidatorProvider);
  }

  public static MapKeyProcessingStep newInstance(XMessager messager,
      MapKeyValidator mapKeyValidator, AnnotationCreatorGenerator annotationCreatorGenerator,
      UnwrappedMapKeyGenerator unwrappedMapKeyGenerator) {
    return new MapKeyProcessingStep(messager, mapKeyValidator, annotationCreatorGenerator, unwrappedMapKeyGenerator);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy