dagger.internal.codegen.binding.AutoValue_DelegateDeclaration Maven / Gradle / Ivy
package dagger.internal.codegen.binding;
import com.google.common.base.Equivalence;
import dagger.internal.codegen.base.ContributionType;
import dagger.spi.model.DependencyRequest;
import dagger.spi.model.Key;
import java.lang.Override;
import java.util.Optional;
import javax.annotation.Generated;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_DelegateDeclaration extends $AutoValue_DelegateDeclaration {
private volatile int hashCode;
private volatile boolean hashCode$Memoized;
AutoValue_DelegateDeclaration(ContributionType contributionType$, Key key$,
Optional bindingElement$, Optional contributingModule$,
DependencyRequest delegateRequest$,
Optional> wrappedMapKey$) {
super(contributionType$, key$, bindingElement$, contributingModule$, delegateRequest$, wrappedMapKey$);
}
@Override
public int hashCode() {
if (!hashCode$Memoized) {
synchronized (this) {
if (!hashCode$Memoized) {
hashCode = super.hashCode();
hashCode$Memoized = true;
}
}
}
return hashCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy