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

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

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

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.InjectBindingRegistry;
import dagger.internal.codegen.validation.SuperficialValidator;
import dagger.internal.codegen.validation.TypeCheckingProcessingStep_MembersInjector;
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 InjectProcessingStep_Factory implements Factory {
  private final Provider injectBindingRegistryProvider;

  private final Provider superficialValidatorProvider;

  public InjectProcessingStep_Factory(Provider injectBindingRegistryProvider,
      Provider superficialValidatorProvider) {
    this.injectBindingRegistryProvider = injectBindingRegistryProvider;
    this.superficialValidatorProvider = superficialValidatorProvider;
  }

  @Override
  public InjectProcessingStep get() {
    InjectProcessingStep instance = newInstance(injectBindingRegistryProvider.get());
    TypeCheckingProcessingStep_MembersInjector.injectSuperficialValidator(instance, superficialValidatorProvider.get());
    return instance;
  }

  public static InjectProcessingStep_Factory create(
      Provider injectBindingRegistryProvider,
      Provider superficialValidatorProvider) {
    return new InjectProcessingStep_Factory(injectBindingRegistryProvider, superficialValidatorProvider);
  }

  public static InjectProcessingStep newInstance(InjectBindingRegistry injectBindingRegistry) {
    return new InjectProcessingStep(injectBindingRegistry);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy