com.google.gerrit.entities.AutoValue_NotifyConfig Maven / Gradle / Ivy
package com.google.gerrit.entities;
import com.google.common.collect.ImmutableSet;
import com.google.errorprone.annotations.concurrent.LazyInit;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_NotifyConfig extends $AutoValue_NotifyConfig {
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile int hashCode;
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile boolean hashCode$Memoized;
AutoValue_NotifyConfig(String name, ImmutableSet notify, String filter,
NotifyConfig.Header header, ImmutableSet groups,
ImmutableSet addresses) {
super(name, notify, filter, header, groups, addresses);
}
@Override
public int hashCode() {
if (!hashCode$Memoized) {
synchronized (this) {
if (!hashCode$Memoized) {
hashCode = super.hashCode();
hashCode$Memoized = true;
}
}
}
return hashCode;
}
}