dagger.internal.codegen.validation.AutoValue_ExternalBindingGraphConverter_DependencyEdgeImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
package dagger.internal.codegen.validation;
import dagger.model.DependencyRequest;
import dagger.spi.model.BindingGraph;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ExternalBindingGraphConverter_DependencyEdgeImpl extends ExternalBindingGraphConverter.DependencyEdgeImpl {
private final DependencyRequest dependencyRequest;
private final boolean isEntryPoint;
private final BindingGraph.DependencyEdge spiDelegate;
AutoValue_ExternalBindingGraphConverter_DependencyEdgeImpl(
DependencyRequest dependencyRequest,
boolean isEntryPoint,
BindingGraph.DependencyEdge spiDelegate) {
if (dependencyRequest == null) {
throw new NullPointerException("Null dependencyRequest");
}
this.dependencyRequest = dependencyRequest;
this.isEntryPoint = isEntryPoint;
if (spiDelegate == null) {
throw new NullPointerException("Null spiDelegate");
}
this.spiDelegate = spiDelegate;
}
@Override
public DependencyRequest dependencyRequest() {
return dependencyRequest;
}
@Override
public boolean isEntryPoint() {
return isEntryPoint;
}
@Override
BindingGraph.DependencyEdge spiDelegate() {
return spiDelegate;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ExternalBindingGraphConverter.DependencyEdgeImpl) {
ExternalBindingGraphConverter.DependencyEdgeImpl that = (ExternalBindingGraphConverter.DependencyEdgeImpl) o;
return (this.dependencyRequest.equals(that.dependencyRequest()))
&& (this.isEntryPoint == that.isEntryPoint())
&& (this.spiDelegate.equals(that.spiDelegate()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= dependencyRequest.hashCode();
h$ *= 1000003;
h$ ^= isEntryPoint ? 1231 : 1237;
h$ *= 1000003;
h$ ^= spiDelegate.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy