dagger.model.AutoValue_BindingGraph Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-spi Show documentation
Show all versions of dagger-spi Show documentation
A fast dependency injector for Android and Java.
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;
}
}