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

dagger.internal.codegen.ProcessingEnvironmentModule_ProcessingOptionsFactory 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 java.util.Map;
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_ProcessingOptionsFactory implements Factory> {
  private final Provider processingEnvironmentProvider;

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

  @Override
  public Map get() {
    return processingOptions(processingEnvironmentProvider.get());
  }

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

  public static Map processingOptions(ProcessingEnvironment processingEnvironment) {
    return Preconditions.checkNotNullFromProvides(ProcessingEnvironmentModule.processingOptions(processingEnvironment));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy