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