dagger.internal.codegen.validation.AutoValue_SpiModelBindingGraphConverter_DaggerTypeElementImpl Maven / Gradle / Ivy
package dagger.internal.codegen.validation;
import androidx.room.compiler.processing.XTypeElement;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_SpiModelBindingGraphConverter_DaggerTypeElementImpl extends SpiModelBindingGraphConverter.DaggerTypeElementImpl {
private final XTypeElement element;
AutoValue_SpiModelBindingGraphConverter_DaggerTypeElementImpl(
XTypeElement element) {
if (element == null) {
throw new NullPointerException("Null element");
}
this.element = element;
}
@Override
XTypeElement element() {
return element;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof SpiModelBindingGraphConverter.DaggerTypeElementImpl) {
SpiModelBindingGraphConverter.DaggerTypeElementImpl that = (SpiModelBindingGraphConverter.DaggerTypeElementImpl) o;
return this.element.equals(that.element());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= element.hashCode();
return h$;
}
}