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

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

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.base.SourceFileGenerator;
import dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.BindingGraphFactory;
import dagger.internal.codegen.binding.ComponentDescriptorFactory;
import dagger.internal.codegen.validation.BindingGraphValidator;
import dagger.internal.codegen.validation.ComponentCreatorValidator;
import dagger.internal.codegen.validation.ComponentDescriptorValidator;
import dagger.internal.codegen.validation.ComponentValidator;
import javax.annotation.Generated;
import javax.annotation.processing.Messager;
import javax.inject.Provider;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class ComponentProcessingStep_Factory implements Factory {
  private final Provider messagerProvider;

  private final Provider componentValidatorProvider;

  private final Provider creatorValidatorProvider;

  private final Provider componentDescriptorValidatorProvider;

  private final Provider componentDescriptorFactoryProvider;

  private final Provider bindingGraphFactoryProvider;

  private final Provider> componentGeneratorProvider;

  private final Provider bindingGraphValidatorProvider;

  public ComponentProcessingStep_Factory(Provider messagerProvider,
      Provider componentValidatorProvider,
      Provider creatorValidatorProvider,
      Provider componentDescriptorValidatorProvider,
      Provider componentDescriptorFactoryProvider,
      Provider bindingGraphFactoryProvider,
      Provider> componentGeneratorProvider,
      Provider bindingGraphValidatorProvider) {
    this.messagerProvider = messagerProvider;
    this.componentValidatorProvider = componentValidatorProvider;
    this.creatorValidatorProvider = creatorValidatorProvider;
    this.componentDescriptorValidatorProvider = componentDescriptorValidatorProvider;
    this.componentDescriptorFactoryProvider = componentDescriptorFactoryProvider;
    this.bindingGraphFactoryProvider = bindingGraphFactoryProvider;
    this.componentGeneratorProvider = componentGeneratorProvider;
    this.bindingGraphValidatorProvider = bindingGraphValidatorProvider;
  }

  @Override
  public ComponentProcessingStep get() {
    return newInstance(messagerProvider.get(), componentValidatorProvider.get(), creatorValidatorProvider.get(), componentDescriptorValidatorProvider.get(), componentDescriptorFactoryProvider.get(), bindingGraphFactoryProvider.get(), componentGeneratorProvider.get(), bindingGraphValidatorProvider.get());
  }

  public static ComponentProcessingStep_Factory create(Provider messagerProvider,
      Provider componentValidatorProvider,
      Provider creatorValidatorProvider,
      Provider componentDescriptorValidatorProvider,
      Provider componentDescriptorFactoryProvider,
      Provider bindingGraphFactoryProvider,
      Provider> componentGeneratorProvider,
      Provider bindingGraphValidatorProvider) {
    return new ComponentProcessingStep_Factory(messagerProvider, componentValidatorProvider, creatorValidatorProvider, componentDescriptorValidatorProvider, componentDescriptorFactoryProvider, bindingGraphFactoryProvider, componentGeneratorProvider, bindingGraphValidatorProvider);
  }

  public static ComponentProcessingStep newInstance(Messager messager,
      ComponentValidator componentValidator, ComponentCreatorValidator creatorValidator,
      ComponentDescriptorValidator componentDescriptorValidator,
      ComponentDescriptorFactory componentDescriptorFactory,
      BindingGraphFactory bindingGraphFactory, SourceFileGenerator componentGenerator,
      BindingGraphValidator bindingGraphValidator) {
    return new ComponentProcessingStep(messager, componentValidator, creatorValidator, componentDescriptorValidator, componentDescriptorFactory, bindingGraphFactory, componentGenerator, bindingGraphValidator);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy