dagger.internal.codegen.validation.AutoValue_ExternalBindingGraphConverter_BindingGraphImpl Maven / Gradle / Ivy
package dagger.internal.codegen.validation;
import com.google.common.collect.ImmutableSetMultimap;
import com.google.common.graph.ImmutableNetwork;
import dagger.model.BindingGraph;
import java.lang.Class;
import java.lang.Override;
import javax.annotation.Generated;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_ExternalBindingGraphConverter_BindingGraphImpl extends $AutoValue_ExternalBindingGraphConverter_BindingGraphImpl {
private volatile ImmutableSetMultimap, ? extends BindingGraph.Node> nodesByClass;
AutoValue_ExternalBindingGraphConverter_BindingGraphImpl(ImmutableNetwork network$,
boolean isFullBindingGraph$) {
super(network$, isFullBindingGraph$);
}
@Override
public 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 - 2025 Weber Informatics LLC | Privacy Policy