dagger.internal.codegen.validation.AutoValue_SpiModelBindingGraphConverter_DaggerAnnotationImpl 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.XAnnotation;
import com.google.common.base.Equivalence;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_SpiModelBindingGraphConverter_DaggerAnnotationImpl extends SpiModelBindingGraphConverter.DaggerAnnotationImpl {
private final Equivalence.Wrapper annotation;
AutoValue_SpiModelBindingGraphConverter_DaggerAnnotationImpl(
Equivalence.Wrapper annotation) {
if (annotation == null) {
throw new NullPointerException("Null annotation");
}
this.annotation = annotation;
}
@Override
Equivalence.Wrapper annotation() {
return annotation;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof SpiModelBindingGraphConverter.DaggerAnnotationImpl) {
SpiModelBindingGraphConverter.DaggerAnnotationImpl that = (SpiModelBindingGraphConverter.DaggerAnnotationImpl) o;
return this.annotation.equals(that.annotation());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= annotation.hashCode();
return h$;
}
}