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

dagger.model.AutoValue_BindingGraph Maven / Gradle / Ivy

There is a newer version: 2.52
Show newest version
package dagger.model;

import com.google.common.collect.ImmutableSetMultimap;
import com.google.common.graph.ImmutableNetwork;
import java.lang.Class;
import java.lang.Override;
import javax.annotation.Generated;

@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_BindingGraph extends $AutoValue_BindingGraph {
  private volatile ImmutableSetMultimap, ? extends BindingGraph.Node> nodesByClass;

  AutoValue_BindingGraph(ImmutableNetwork network$,
      boolean isFullBindingGraph$) {
    super(network$, isFullBindingGraph$);
  }

  @Override
  ImmutableSetMultimap, ? extends BindingGraph.Node> nodesByClass() {
    if (nodesByClass == null) {
      synchronized (this) {
        if (nodesByClass == null) {
          nodesByClass = super.nodesByClass();
          if (nodesByClass == null) {
            throw new NullPointerException("nodesByClass() cannot return null");
          }
        }
      }
    }
    return nodesByClass;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy