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

dagger.internal.codegen.SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory 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.Preconditions;
import dagger.internal.codegen.base.SourceFileGenerator;
import dagger.internal.codegen.binding.ProductionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.writing.ProducerFactoryGenerator;
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 SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory implements Factory> {
  private final Provider generatorProvider;

  private final Provider compilerOptionsProvider;

  public SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory(
      Provider generatorProvider,
      Provider compilerOptionsProvider) {
    this.generatorProvider = generatorProvider;
    this.compilerOptionsProvider = compilerOptionsProvider;
  }

  @Override
  public SourceFileGenerator get() {
    return producerFactoryGenerator(generatorProvider.get(), compilerOptionsProvider.get());
  }

  public static SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory create(
      Provider generatorProvider,
      Provider compilerOptionsProvider) {
    return new SourceFileGeneratorsModule_ProducerFactoryGeneratorFactory(generatorProvider, compilerOptionsProvider);
  }

  public static SourceFileGenerator producerFactoryGenerator(
      ProducerFactoryGenerator generator, CompilerOptions compilerOptions) {
    return Preconditions.checkNotNullFromProvides(SourceFileGeneratorsModule.producerFactoryGenerator(generator, compilerOptions));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy