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

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

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

import androidx.room.compiler.processing.XElement;
import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableSet;
import com.google.errorprone.annotations.concurrent.LazyInit;
import dagger.internal.codegen.model.DependencyRequest;
import java.lang.Override;
import java.lang.SuppressWarnings;

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

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

  AutoValue_MembersInjectionBinding_InjectionSite(MembersInjectionBinding.InjectionSite.Kind kind$,
      XElement element$, XTypeElement enclosingTypeElement$,
      ImmutableSet dependencies$) {
    super(kind$, element$, enclosingTypeElement$, dependencies$);
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy