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

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

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

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.binding.DependencyRequestFactory;
import dagger.internal.codegen.binding.MethodSignatureFormatter;
import dagger.internal.codegen.kotlin.KotlinMetadataUtil;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
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 ComponentValidator_Factory implements Factory {
  private final Provider elementsProvider;

  private final Provider typesProvider;

  private final Provider moduleValidatorProvider;

  private final Provider creatorValidatorProvider;

  private final Provider dependencyRequestValidatorProvider;

  private final Provider membersInjectionValidatorProvider;

  private final Provider methodSignatureFormatterProvider;

  private final Provider dependencyRequestFactoryProvider;

  private final Provider metadataUtilProvider;

  public ComponentValidator_Factory(Provider elementsProvider,
      Provider typesProvider, Provider moduleValidatorProvider,
      Provider creatorValidatorProvider,
      Provider dependencyRequestValidatorProvider,
      Provider membersInjectionValidatorProvider,
      Provider methodSignatureFormatterProvider,
      Provider dependencyRequestFactoryProvider,
      Provider metadataUtilProvider) {
    this.elementsProvider = elementsProvider;
    this.typesProvider = typesProvider;
    this.moduleValidatorProvider = moduleValidatorProvider;
    this.creatorValidatorProvider = creatorValidatorProvider;
    this.dependencyRequestValidatorProvider = dependencyRequestValidatorProvider;
    this.membersInjectionValidatorProvider = membersInjectionValidatorProvider;
    this.methodSignatureFormatterProvider = methodSignatureFormatterProvider;
    this.dependencyRequestFactoryProvider = dependencyRequestFactoryProvider;
    this.metadataUtilProvider = metadataUtilProvider;
  }

  @Override
  public ComponentValidator get() {
    return newInstance(elementsProvider.get(), typesProvider.get(), moduleValidatorProvider.get(), creatorValidatorProvider.get(), dependencyRequestValidatorProvider.get(), membersInjectionValidatorProvider.get(), methodSignatureFormatterProvider.get(), dependencyRequestFactoryProvider.get(), metadataUtilProvider.get());
  }

  public static ComponentValidator_Factory create(Provider elementsProvider,
      Provider typesProvider, Provider moduleValidatorProvider,
      Provider creatorValidatorProvider,
      Provider dependencyRequestValidatorProvider,
      Provider membersInjectionValidatorProvider,
      Provider methodSignatureFormatterProvider,
      Provider dependencyRequestFactoryProvider,
      Provider metadataUtilProvider) {
    return new ComponentValidator_Factory(elementsProvider, typesProvider, moduleValidatorProvider, creatorValidatorProvider, dependencyRequestValidatorProvider, membersInjectionValidatorProvider, methodSignatureFormatterProvider, dependencyRequestFactoryProvider, metadataUtilProvider);
  }

  public static ComponentValidator newInstance(DaggerElements elements, DaggerTypes types,
      ModuleValidator moduleValidator, ComponentCreatorValidator creatorValidator,
      Object dependencyRequestValidator, Object membersInjectionValidator,
      MethodSignatureFormatter methodSignatureFormatter,
      DependencyRequestFactory dependencyRequestFactory, KotlinMetadataUtil metadataUtil) {
    return new ComponentValidator(elements, types, moduleValidator, creatorValidator, (DependencyRequestValidator) dependencyRequestValidator, (MembersInjectionValidator) membersInjectionValidator, methodSignatureFormatter, dependencyRequestFactory, metadataUtil);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy