com.google.inject.internal.MissingImplementationError Maven / Gradle / Ivy
The newest version!
package com.google.inject.internal;
import com.google.common.base.Suppliers;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.spi.ErrorDetail;
import java.util.ArrayList;
import java.util.Formatter;
import java.util.List;
import java.util.function.Supplier;
import java.util.stream.Collectors;
/** Error reported by Guice when a key is not bound in the injector. */
final class MissingImplementationError
extends InternalErrorDetail> {
private final Key key;
private final Supplier> suggestionsSupplier;
public MissingImplementationError(Key key, Injector injector, List