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.54
Show newest version
package dagger.internal.codegen;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.annotation.Generated;
import javax.annotation.processing.Filer;
import javax.annotation.processing.ProcessingEnvironment;
import javax.inject.Provider;

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

  private final Provider processingEnvironmentProvider;

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

  @Override
  public Filer get() {
    return filer(compilerOptionsProvider.get(), processingEnvironmentProvider.get());
  }

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

  public static Filer filer(CompilerOptions compilerOptions,
      ProcessingEnvironment processingEnvironment) {
    return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.filer(compilerOptions, processingEnvironment));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy