dagger.spi.model.AutoValue_Scope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-spi Show documentation
Show all versions of dagger-spi Show documentation
A fast dependency injector for Android and Java.
package dagger.spi.model;
// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_Scope extends Scope {
private final DaggerAnnotation scopeAnnotation;
AutoValue_Scope(
DaggerAnnotation scopeAnnotation) {
if (scopeAnnotation == null) {
throw new NullPointerException("Null scopeAnnotation");
}
this.scopeAnnotation = scopeAnnotation;
}
@Override
public DaggerAnnotation scopeAnnotation() {
return scopeAnnotation;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Scope) {
Scope that = (Scope) o;
return this.scopeAnnotation.equals(that.scopeAnnotation());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= scopeAnnotation.hashCode();
return h$;
}
}