Class IndentStep

java.lang.Object
com.diffplug.spotless.generic.IndentStep
All Implemented Interfaces:
Serializable

public final class IndentStep extends Object implements Serializable
Simple step which checks for consistent indentation characters.
See Also:
  • Method Details

    • 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()