dagger.internal.codegen.ProcessingEnvironmentModule_FilerFactory Maven / Gradle / Ivy
// 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));
}
}