Package org.openrewrite.java.format
Class ShiftFormat
- java.lang.Object
-
- org.openrewrite.java.format.ShiftFormat
-
public class ShiftFormat extends java.lang.ObjectLess commonly used thanAutoFormat, but useful in cases when a block of code is being moved definitively a certain number of indentation levels left or right, such as when unwrapping a block or conditional statement.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <J2 extends J>
J2indent(J j, org.openrewrite.Cursor cursor, int shift)
-