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

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

There is a newer version: 2.52
Show newest version
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;

import dagger.internal.DaggerGenerated;
import dagger.internal.InstanceFactory;
import dagger.internal.codegen.binding.ContributionBinding;
import javax.inject.Provider;

@DaggerGenerated
@SuppressWarnings({
    "unchecked",
    "rawtypes"
})
public final class StaticFactoryInstanceSupplier_Factory_Impl implements StaticFactoryInstanceSupplier.Factory {
  private final StaticFactoryInstanceSupplier_Factory delegateFactory;

  StaticFactoryInstanceSupplier_Factory_Impl(
      StaticFactoryInstanceSupplier_Factory delegateFactory) {
    this.delegateFactory = delegateFactory;
  }

  @Override
  public StaticFactoryInstanceSupplier create(ContributionBinding binding) {
    return delegateFactory.get(binding);
  }

  public static Provider create(
      StaticFactoryInstanceSupplier_Factory delegateFactory) {
    return InstanceFactory.create(new StaticFactoryInstanceSupplier_Factory_Impl(delegateFactory));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy