Class ErrorFormatter

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

final class ErrorFormatter extends Object
Helper for formatting Guice errors.
  • Constructor Details

    • ErrorFormatter

      private ErrorFormatter()
  • Method Details

    • formatSources

      static void formatSources(int index, List<Object> sources, Formatter formatter)
      Format a list of sources to the given formatter, prefixed by the give index.
    • formatSources

      static void formatSources(List<Object> sources, Formatter formatter)
      Format a list of sources to the given formatter.