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

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

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

import com.google.common.base.Equivalence;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import dagger.internal.codegen.base.ContributionType;
import dagger.spi.model.BindingKind;
import dagger.spi.model.DependencyRequest;
import dagger.spi.model.Key;
import java.lang.Boolean;
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;
import javax.lang.model.type.DeclaredType;
import javax.lang.model.type.TypeMirror;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_ProductionBinding extends $AutoValue_ProductionBinding {
  private volatile boolean requiresModuleInstance;

  private volatile boolean requiresModuleInstance$Memoized;

  private volatile int hashCode;

  private volatile boolean hashCode$Memoized;

  AutoValue_ProductionBinding(ContributionType contributionType$, Key key$,
      Optional bindingElement$, Optional contributingModule$,
      BindingKind kind$, ImmutableSet explicitDependencies$,
      Optional nullableType$,
      Optional> wrappedMapKeyAnnotation$,
      Optional isContributingModuleKotlinObject$, Optional unresolved$,
      Optional productionKind$,
      ImmutableList thrownTypes$,
      Optional executorRequest$, Optional monitorRequest$) {
    super(contributionType$, key$, bindingElement$, contributingModule$, kind$, explicitDependencies$, nullableType$, wrappedMapKeyAnnotation$, isContributingModuleKotlinObject$, unresolved$, productionKind$, thrownTypes$, executorRequest$, monitorRequest$);
  }

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

  @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