Package com.google.inject.internal
Class MissingImplementationErrorHints
- java.lang.Object
-
- com.google.inject.internal.MissingImplementationErrorHints
-
final class MissingImplementationErrorHints extends java.lang.Object
Helper class to find hints forMissingImplementationError
.
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.common.collect.ImmutableSet<java.lang.Class<?>>
COMMON_AMBIGUOUS_TYPES
If the key is unknown and it is one of these types, it generally means there is a missing annotation.private static int
MAX_MATCHING_TYPES_REPORTED
When a binding is not found, show at most this many bindings with the same typeprivate static int
MAX_RELATED_TYPES_REPORTED
When a binding is not found, show at most this many bindings that have some similarities
-
Constructor Summary
Constructors Modifier Constructor Description private
MissingImplementationErrorHints()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T> com.google.common.collect.ImmutableList<java.lang.String>
getSuggestions(Key<T> key, Injector injector)
-
-
-
Field Detail
-
MAX_MATCHING_TYPES_REPORTED
private static final int MAX_MATCHING_TYPES_REPORTED
When a binding is not found, show at most this many bindings with the same type- See Also:
- Constant Field Values
-
MAX_RELATED_TYPES_REPORTED
private static final int MAX_RELATED_TYPES_REPORTED
When a binding is not found, show at most this many bindings that have some similarities- See Also:
- Constant Field Values
-
COMMON_AMBIGUOUS_TYPES
private static final com.google.common.collect.ImmutableSet<java.lang.Class<?>> COMMON_AMBIGUOUS_TYPES
If the key is unknown and it is one of these types, it generally means there is a missing annotation.
-
-