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

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

There is a newer version: 2.52
Show newest version
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen;

import androidx.room.compiler.processing.XFiler;
import androidx.room.compiler.processing.XProcessingEnv;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class ProcessingEnvironmentModule_FilerFactory implements Factory {
  private final Provider compilerOptionsProvider;

  private final Provider xProcessingEnvProvider;

  public ProcessingEnvironmentModule_FilerFactory(Provider compilerOptionsProvider,
      Provider xProcessingEnvProvider) {
    this.compilerOptionsProvider = compilerOptionsProvider;
    this.xProcessingEnvProvider = xProcessingEnvProvider;
  }

  @Override
  public XFiler get() {
    return filer(compilerOptionsProvider.get(), xProcessingEnvProvider.get());
  }

  public static ProcessingEnvironmentModule_FilerFactory create(
      Provider compilerOptionsProvider,
      Provider xProcessingEnvProvider) {
    return new ProcessingEnvironmentModule_FilerFactory(compilerOptionsProvider, xProcessingEnvProvider);
  }

  public static XFiler filer(CompilerOptions compilerOptions, XProcessingEnv xProcessingEnv) {
    return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.filer(compilerOptions, xProcessingEnv));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy