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

dagger.internal.codegen.binding.AutoValue_SubcomponentDeclaration Maven / Gradle / Ivy

There is a newer version: 2.54
Show newest version
package dagger.internal.codegen.binding;

import dagger.internal.codegen.base.ModuleAnnotation;
import dagger.spi.model.Key;
import java.lang.Override;
import java.util.Optional;
import javax.annotation.Generated;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_SubcomponentDeclaration extends $AutoValue_SubcomponentDeclaration {
  private volatile int hashCode;

  private volatile boolean hashCode$Memoized;

  AutoValue_SubcomponentDeclaration(Optional bindingElement$,
      Optional contributingModule$, Key key$, TypeElement subcomponentType$,
      ModuleAnnotation moduleAnnotation$) {
    super(bindingElement$, contributingModule$, key$, subcomponentType$, moduleAnnotation$);
  }

  @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