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

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

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.codegen.langmodel.DaggerElements;
import javax.annotation.Generated;
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_DaggerElementsFactory implements Factory {
  private final Provider processingEnvironmentProvider;

  public ProcessingEnvironmentModule_DaggerElementsFactory(
      Provider processingEnvironmentProvider) {
    this.processingEnvironmentProvider = processingEnvironmentProvider;
  }

  @Override
  public DaggerElements get() {
    return daggerElements(processingEnvironmentProvider.get());
  }

  public static ProcessingEnvironmentModule_DaggerElementsFactory create(
      Provider processingEnvironmentProvider) {
    return new ProcessingEnvironmentModule_DaggerElementsFactory(processingEnvironmentProvider);
  }

  public static DaggerElements daggerElements(ProcessingEnvironment processingEnvironment) {
    return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.daggerElements(processingEnvironment));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy