dagger.internal.codegen.ProcessingEnvironmentModule_MessagerFactory 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 javax.annotation.Generated;
import javax.annotation.processing.Messager;
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_MessagerFactory implements Factory {
private final Provider processingEnvironmentProvider;
public ProcessingEnvironmentModule_MessagerFactory(
Provider processingEnvironmentProvider) {
this.processingEnvironmentProvider = processingEnvironmentProvider;
}
@Override
public Messager get() {
return messager(processingEnvironmentProvider.get());
}
public static ProcessingEnvironmentModule_MessagerFactory create(
Provider processingEnvironmentProvider) {
return new ProcessingEnvironmentModule_MessagerFactory(processingEnvironmentProvider);
}
public static Messager messager(ProcessingEnvironment processingEnvironment) {
return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.messager(processingEnvironment));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy