Class MissingImplementationErrorHints

java.lang.Object
com.google.inject.internal.MissingImplementationErrorHints

final class MissingImplementationErrorHints extends Object
Helper class to find hints for MissingImplementationError.
  • Field Details

    • 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:
    • COMMON_AMBIGUOUS_TYPES

      private static final com.google.common.collect.ImmutableSet<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 Details

    • MissingImplementationErrorHints

      private MissingImplementationErrorHints()
  • Method Details

    • getSuggestions

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