Package com.diffplug.spotless.generic
Class IndentStep
- java.lang.Object
-
- com.diffplug.spotless.generic.IndentStep
-
public final class IndentStep extends 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()
-
-
-
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()
-
-