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.54
Show newest version
package dagger.internal.codegen.binding;

import com.google.common.collect.ImmutableSet;
import java.lang.Override;
import javax.annotation.Generated;
import javax.lang.model.element.TypeElement;

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

  AutoValue_ModuleDescriptor(TypeElement moduleElement$, ImmutableSet includedModules$,
      ImmutableSet bindings$,
      ImmutableSet multibindingDeclarations$,
      ImmutableSet subcomponentDeclarations$,
      ImmutableSet delegateDeclarations$,
      ImmutableSet optionalDeclarations$, ModuleKind kind$) {
    super(moduleElement$, includedModules$, 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 - 2025 Weber Informatics LLC | Privacy Policy