dagger.internal.codegen.validation.$AutoValue_SpiModelBindingGraphConverter_MissingBindingImpl 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.internal.codegen.model.BindingGraph;
import dagger.spi.model.ComponentPath;
import dagger.spi.model.Key;
// Generated by com.google.auto.value.processor.AutoValueProcessor
abstract class $AutoValue_SpiModelBindingGraphConverter_MissingBindingImpl extends SpiModelBindingGraphConverter.MissingBindingImpl {
private final ComponentPath componentPath;
private final Key key;
private final BindingGraph.MissingBinding internalDelegate;
$AutoValue_SpiModelBindingGraphConverter_MissingBindingImpl(
ComponentPath componentPath,
Key key,
BindingGraph.MissingBinding internalDelegate) {
if (componentPath == null) {
throw new NullPointerException("Null componentPath");
}
this.componentPath = componentPath;
if (key == null) {
throw new NullPointerException("Null key");
}
this.key = key;
if (internalDelegate == null) {
throw new NullPointerException("Null internalDelegate");
}
this.internalDelegate = internalDelegate;
}
@Override
public ComponentPath componentPath() {
return componentPath;
}
@Override
public Key key() {
return key;
}
@Override
BindingGraph.MissingBinding internalDelegate() {
return internalDelegate;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof SpiModelBindingGraphConverter.MissingBindingImpl) {
SpiModelBindingGraphConverter.MissingBindingImpl that = (SpiModelBindingGraphConverter.MissingBindingImpl) o;
return this.componentPath.equals(that.componentPath())
&& this.key.equals(that.key())
&& this.internalDelegate.equals(that.internalDelegate());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= componentPath.hashCode();
h$ *= 1000003;
h$ ^= key.hashCode();
h$ *= 1000003;
h$ ^= internalDelegate.hashCode();
return h$;
}
}