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

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

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

import com.google.common.collect.ImmutableSet;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.langmodel.DaggerElements;
import dagger.internal.codegen.langmodel.DaggerTypes;
import dagger.spi.model.BindingGraphPlugin;
import java.util.Map;
import javax.annotation.Generated;
import javax.annotation.processing.Filer;
import javax.inject.Provider;

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

  private final Provider diagnosticReporterFactoryProvider;

  private final Provider filerProvider;

  private final Provider typesProvider;

  private final Provider elementsProvider;

  private final Provider compilerOptionsProvider;

  private final Provider> processingOptionsProvider;

  public ValidationBindingGraphPlugins_Factory(
      Provider> pluginsProvider,
      Provider diagnosticReporterFactoryProvider,
      Provider filerProvider, Provider typesProvider,
      Provider elementsProvider, Provider compilerOptionsProvider,
      Provider> processingOptionsProvider) {
    this.pluginsProvider = pluginsProvider;
    this.diagnosticReporterFactoryProvider = diagnosticReporterFactoryProvider;
    this.filerProvider = filerProvider;
    this.typesProvider = typesProvider;
    this.elementsProvider = elementsProvider;
    this.compilerOptionsProvider = compilerOptionsProvider;
    this.processingOptionsProvider = processingOptionsProvider;
  }

  @Override
  public ValidationBindingGraphPlugins get() {
    return newInstance(pluginsProvider.get(), diagnosticReporterFactoryProvider.get(), filerProvider.get(), typesProvider.get(), elementsProvider.get(), compilerOptionsProvider.get(), processingOptionsProvider.get());
  }

  public static ValidationBindingGraphPlugins_Factory create(
      Provider> pluginsProvider,
      Provider diagnosticReporterFactoryProvider,
      Provider filerProvider, Provider typesProvider,
      Provider elementsProvider, Provider compilerOptionsProvider,
      Provider> processingOptionsProvider) {
    return new ValidationBindingGraphPlugins_Factory(pluginsProvider, diagnosticReporterFactoryProvider, filerProvider, typesProvider, elementsProvider, compilerOptionsProvider, processingOptionsProvider);
  }

  public static ValidationBindingGraphPlugins newInstance(ImmutableSet plugins,
      Object diagnosticReporterFactory, Filer filer, DaggerTypes types, DaggerElements elements,
      CompilerOptions compilerOptions, Map processingOptions) {
    return new ValidationBindingGraphPlugins(plugins, (DiagnosticReporterFactory) diagnosticReporterFactory, filer, types, elements, compilerOptions, processingOptions);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy