Class MissingImplementationErrorHints

    • 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 type
      private static int MAX_RELATED_TYPES_REPORTED
      When a binding is not found, show at most this many bindings that have some similarities
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
    • Constructor Detail

      • MissingImplementationErrorHints

        private MissingImplementationErrorHints()
    • Method Detail

      • getSuggestions

        static <T> com.google.common.collect.ImmutableList<java.lang.String> getSuggestions​(Key<T> key,
                                                                                            Injector injector)