Class IndentStep


  • public final class IndentStep
    extends java.lang.Object
    Simple step which checks for consistent indentation characters.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  IndentStep.Type  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FormatterStep create​(IndentStep.Type type, int numSpacesPerTab)
      Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the given ratio.
      static int defaultNumSpacesPerTab()  
      • Methods inherited from class java.lang.Object

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

      • create

        public static FormatterStep create​(IndentStep.Type type,
                                           int numSpacesPerTab)
        Creates a step which will indent with the given type of whitespace, converting between tabs and spaces at the given ratio.
      • defaultNumSpacesPerTab

        public static int defaultNumSpacesPerTab()