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