All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dagger.internal.codegen.validation.AutoValue_ModelBindingGraphConverter_MissingBindingImpl Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.internal.codegen.validation;

import com.google.errorprone.annotations.concurrent.LazyInit;
import dagger.internal.codegen.model.BindingGraph;
import dagger.model.ComponentPath;
import dagger.model.Key;
import java.lang.Object;
import java.lang.Override;
import java.lang.SuppressWarnings;

final class AutoValue_ModelBindingGraphConverter_MissingBindingImpl extends $AutoValue_ModelBindingGraphConverter_MissingBindingImpl {
  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile int hashCode;

  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile boolean hashCode$Memoized;

  AutoValue_ModelBindingGraphConverter_MissingBindingImpl(ComponentPath componentPath$, Key key$,
      BindingGraph.MissingBinding delegate$) {
    super(componentPath$, key$, delegate$);
  }

  @Override
  public int hashCode() {
    if (!hashCode$Memoized) {
      synchronized (this) {
        if (!hashCode$Memoized) {
          hashCode = super.hashCode();
          hashCode$Memoized = true;
        }
      }
    }
    return hashCode;
  }

  @Override
  public boolean equals(Object that) {
    if (this == that) {
      return true;
    }
    return that instanceof AutoValue_ModelBindingGraphConverter_MissingBindingImpl && this.hashCode() == that.hashCode() && super.equals(that);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy