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

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

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.compileroption.CompilerOptions;
import dagger.internal.codegen.writing.ModuleProxies;
import javax.annotation.Generated;
import javax.inject.Provider;
import javax.lang.model.element.TypeElement;

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

  private final Provider compilerOptionsProvider;

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

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

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

  public static SourceFileGenerator moduleConstructorProxyGenerator(
      ModuleProxies.ModuleConstructorProxyGenerator generator, CompilerOptions compilerOptions) {
    return Preconditions.checkNotNullFromProvides(SourceFileGeneratorsModule.moduleConstructorProxyGenerator(generator, compilerOptions));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy