com.google.inject.internal.MissingConstructorError Maven / Gradle / Ivy
The newest version!
package com.google.inject.internal;
import com.google.common.base.Objects;
import com.google.common.collect.Lists;
import com.google.inject.TypeLiteral;
import com.google.inject.spi.ErrorDetail;
import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Formatter;
import java.util.List;
/** Error reported when Guice can't find an useable constructor to create objects. */
final class MissingConstructorError extends InternalErrorDetail {
private final TypeLiteral> type;
private final boolean atInjectRequired;
MissingConstructorError(TypeLiteral> type, boolean atInjectRequired, List