All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.ProcessingEnvironmentModule_MessagerFactory Maven / Gradle / Ivy

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));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy