dagger.internal.codegen.ProcessingEnvironmentModule_FilerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
// 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.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes"
})
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));
}
}