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

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

package dagger.internal.codegen.binding;

import com.google.common.collect.ImmutableSet;
import dagger.spi.model.DependencyRequest;
import java.lang.Override;
import javax.annotation.Generated;
import javax.lang.model.element.Element;

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

  private volatile boolean indexAmongAtInjectMembersWithSameSimpleName$Memoized;

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy