dagger.internal.codegen.MapKeyProcessingStep_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.
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);
}
}