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.
The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen;
import androidx.room.compiler.processing.XMessager;
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 javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class ProcessingEnvironmentModule_MessagerFactory implements Factory {
private final Provider xProcessingEnvProvider;
public ProcessingEnvironmentModule_MessagerFactory(
Provider xProcessingEnvProvider) {
this.xProcessingEnvProvider = xProcessingEnvProvider;
}
@Override
public XMessager get() {
return messager(xProcessingEnvProvider.get());
}
public static ProcessingEnvironmentModule_MessagerFactory create(
Provider xProcessingEnvProvider) {
return new ProcessingEnvironmentModule_MessagerFactory(xProcessingEnvProvider);
}
public static XMessager messager(XProcessingEnv xProcessingEnv) {
return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.messager(xProcessingEnv));
}
}