Class Reformatter

java.lang.Object
com.google.auto.value.processor.Reformatter

class Reformatter extends Object
Postprocessor that runs over the output of the template engine in order to make it look nicer. Mostly, this involves removing surplus horizontal and vertical space.
  • Constructor Details

    • Reformatter

      Reformatter()
  • Method Details

    • fixup

      static String fixup(String s)
    • removeTrailingSpace

      private static String removeTrailingSpace(String s)
    • compressBlankLines

      private static String compressBlankLines(String s)
    • compressSpace

      private static String compressSpace(String s)