dagger.model.AutoValue_BindingGraph_ComponentNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-spi Show documentation
Show all versions of dagger-spi Show documentation
A fast dependency injector for Android and Java.
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;
}
}