Package com.diffplug.spotless.generic
Class IndentStep
- java.lang.Object
-
- com.diffplug.spotless.generic.IndentStep
-
public final class IndentStep extends java.lang.ObjectSimple step which checks for consistent indentation characters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndentStep.Type
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormatterStepcreate(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 intdefaultNumSpacesPerTab()
-
-
-
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()
-
-