com.google.gerrit.server.index.change.AutoValue_ChangeField_StarField Maven / Gradle / Ivy
package com.google.gerrit.server.index.change;
import com.google.gerrit.entities.Account;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ChangeField_StarField extends ChangeField.StarField {
private final Account.Id accountId;
AutoValue_ChangeField_StarField(
Account.Id accountId) {
if (accountId == null) {
throw new NullPointerException("Null accountId");
}
this.accountId = accountId;
}
@Override
public Account.Id accountId() {
return accountId;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ChangeField.StarField) {
ChangeField.StarField that = (ChangeField.StarField) o;
return this.accountId.equals(that.accountId());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= accountId.hashCode();
return h$;
}
}