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

dagger.internal.codegen.validation.$AutoValue_ExternalBindingGraphConverter_MissingBindingImpl Maven / Gradle / Ivy

There is a newer version: 2.54
Show newest version


package dagger.internal.codegen.validation;

import dagger.model.ComponentPath;
import dagger.model.Key;
import dagger.spi.model.BindingGraph;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 abstract class $AutoValue_ExternalBindingGraphConverter_MissingBindingImpl extends ExternalBindingGraphConverter.MissingBindingImpl {

  private final ComponentPath componentPath;
  private final Key key;
  private final BindingGraph.MissingBinding spiDelegate;

  $AutoValue_ExternalBindingGraphConverter_MissingBindingImpl(
      ComponentPath componentPath,
      Key key,
      BindingGraph.MissingBinding spiDelegate) {
    if (componentPath == null) {
      throw new NullPointerException("Null componentPath");
    }
    this.componentPath = componentPath;
    if (key == null) {
      throw new NullPointerException("Null key");
    }
    this.key = key;
    if (spiDelegate == null) {
      throw new NullPointerException("Null spiDelegate");
    }
    this.spiDelegate = spiDelegate;
  }

  @Override
  public ComponentPath componentPath() {
    return componentPath;
  }

  @Override
  public Key key() {
    return key;
  }

  @Override
  BindingGraph.MissingBinding spiDelegate() {
    return spiDelegate;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ExternalBindingGraphConverter.MissingBindingImpl) {
      ExternalBindingGraphConverter.MissingBindingImpl that = (ExternalBindingGraphConverter.MissingBindingImpl) o;
      return (this.componentPath.equals(that.componentPath()))
           && (this.key.equals(that.key()))
           && (this.spiDelegate.equals(that.spiDelegate()));
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= componentPath.hashCode();
    h$ *= 1000003;
    h$ ^= key.hashCode();
    h$ *= 1000003;
    h$ ^= spiDelegate.hashCode();
    return h$;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy