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

dagger.model.AutoValue_BindingGraph_ComponentNode Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version

package dagger.model;

import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
 final class AutoValue_BindingGraph_ComponentNode extends BindingGraph.ComponentNode {

  private final ComponentPath componentPath;

  AutoValue_BindingGraph_ComponentNode(
      ComponentPath componentPath) {
    if (componentPath == null) {
      throw new NullPointerException("Null componentPath");
    }
    this.componentPath = componentPath;
  }

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

  @Override
  public String toString() {
    return "ComponentNode{"
        + "componentPath=" + componentPath
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof BindingGraph.ComponentNode) {
      BindingGraph.ComponentNode that = (BindingGraph.ComponentNode) o;
      return (this.componentPath.equals(that.componentPath()));
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy