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.
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