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

dagger.internal.codegen.writing.ComponentNames_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 dagger.internal.codegen.binding.BindingGraph;
import dagger.internal.codegen.binding.KeyFactory;
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 ComponentNames_Factory implements Factory {
  private final Provider graphProvider;

  private final Provider keyFactoryProvider;

  public ComponentNames_Factory(Provider graphProvider,
      Provider keyFactoryProvider) {
    this.graphProvider = graphProvider;
    this.keyFactoryProvider = keyFactoryProvider;
  }

  @Override
  public ComponentNames get() {
    return newInstance(graphProvider.get(), keyFactoryProvider.get());
  }

  public static ComponentNames_Factory create(Provider graphProvider,
      Provider keyFactoryProvider) {
    return new ComponentNames_Factory(graphProvider, keyFactoryProvider);
  }

  public static ComponentNames newInstance(BindingGraph graph, KeyFactory keyFactory) {
    return new ComponentNames(graph, keyFactory);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy