Class ErrorFormatter


  • final class ErrorFormatter
    extends java.lang.Object
    Helper for formatting Guice errors.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ErrorFormatter()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void formatSources​(int index, java.util.List<java.lang.Object> sources, java.util.Formatter formatter)
      Format a list of sources to the given formatter, prefixed by the give index.
      (package private) static void formatSources​(java.util.List<java.lang.Object> sources, java.util.Formatter formatter)
      Format a list of sources to the given formatter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorFormatter

        private ErrorFormatter()
    • Method Detail

      • formatSources

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

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