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

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

There is a newer version: 2.45-kim-rc1
Show newest version
package dagger.internal.codegen.binding;

import androidx.room.compiler.processing.XTypeElement;
import com.google.common.collect.ImmutableSet;
import java.lang.Override;
import javax.annotation.Generated;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_ModuleDescriptor extends $AutoValue_ModuleDescriptor {
  private volatile ImmutableSet allBindingDeclarations;

  AutoValue_ModuleDescriptor(XTypeElement moduleElement$,
      ImmutableSet bindings$,
      ImmutableSet multibindingDeclarations$,
      ImmutableSet subcomponentDeclarations$,
      ImmutableSet delegateDeclarations$,
      ImmutableSet optionalDeclarations$, ModuleKind kind$) {
    super(moduleElement$, bindings$, multibindingDeclarations$, subcomponentDeclarations$, delegateDeclarations$, optionalDeclarations$, kind$);
  }

  @Override
  public ImmutableSet allBindingDeclarations() {
    if (allBindingDeclarations == null) {
      synchronized (this) {
        if (allBindingDeclarations == null) {
          allBindingDeclarations = super.allBindingDeclarations();
          if (allBindingDeclarations == null) {
            throw new NullPointerException("allBindingDeclarations() cannot return null");
          }
        }
      }
    }
    return allBindingDeclarations;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy