com.google.inject.internal.BindingAlreadySetError Maven / Gradle / Ivy
package com.google.inject.internal;
import com.google.common.collect.ImmutableList;
import com.google.inject.Binding;
import com.google.inject.spi.ErrorDetail;
import java.util.ArrayList;
import java.util.Formatter;
import java.util.List;
import java.util.stream.Collectors;
/** Error reported by Guice when a key is bound at multiple places the injector. */
final class BindingAlreadySetError extends InternalErrorDetail {
private final Binding> binding;
private final Binding> original;
BindingAlreadySetError(Binding> binding, Binding> original, List