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

dagger.internal.codegen.writing.OptionalFactories_Factory Maven / Gradle / Ivy

The newest version!
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;

@ScopeMetadata
@QualifierMetadata("dagger.internal.codegen.writing.TopLevel")
@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes",
    "KotlinInternal",
    "KotlinInternalInJava"
})
public final class OptionalFactories_Factory implements Factory {
  private final Provider perGeneratedFileCacheProvider;

  private final Provider topLevelImplementationProvider;

  public OptionalFactories_Factory(
      Provider perGeneratedFileCacheProvider,
      Provider topLevelImplementationProvider) {
    this.perGeneratedFileCacheProvider = perGeneratedFileCacheProvider;
    this.topLevelImplementationProvider = topLevelImplementationProvider;
  }

  @Override
  public OptionalFactories get() {
    return newInstance(perGeneratedFileCacheProvider.get(), topLevelImplementationProvider.get());
  }

  public static OptionalFactories_Factory create(
      Provider perGeneratedFileCacheProvider,
      Provider topLevelImplementationProvider) {
    return new OptionalFactories_Factory(perGeneratedFileCacheProvider, topLevelImplementationProvider);
  }

  public static OptionalFactories newInstance(Object perGeneratedFileCache,
      GeneratedImplementation topLevelImplementation) {
    return new OptionalFactories((OptionalFactories.PerGeneratedFileCache) perGeneratedFileCache, topLevelImplementation);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy