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

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

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

import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import javax.annotation.Generated;
import javax.inject.Provider;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class OptionalFactories_Factory implements Factory {
  private final Provider perGeneratedFileCacheProvider;

  private final Provider componentImplementationProvider;

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy