dagger.internal.codegen.validation.AutoValue_SpiModelBindingGraphConverter_DaggerElementImpl 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.
The newest version!
package dagger.internal.codegen.validation;
import androidx.room.compiler.processing.XElement;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_SpiModelBindingGraphConverter_DaggerElementImpl extends SpiModelBindingGraphConverter.DaggerElementImpl {
private final XElement element;
AutoValue_SpiModelBindingGraphConverter_DaggerElementImpl(
XElement element) {
if (element == null) {
throw new NullPointerException("Null element");
}
this.element = element;
}
@Override
XElement element() {
return element;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof SpiModelBindingGraphConverter.DaggerElementImpl) {
SpiModelBindingGraphConverter.DaggerElementImpl that = (SpiModelBindingGraphConverter.DaggerElementImpl) o;
return this.element.equals(that.element());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= element.hashCode();
return h$;
}
}