@NonNullApi
Package org.openrewrite.java.format
-
Class Summary Class Description AutodetectGeneralFormatStyle AutoFormat AutoFormatVisitor<P> BlankLines BlankLinesVisitor<P> EmptyNewlineAtEndOfFile MinimumViableSpacingVisitor<P> NormalizeFormat Ensures that whitespace is on the outermost AST element possible.NormalizeFormatVisitor<P> Ensures that whitespace is on the outermost AST element possible.NormalizeLineBreaks NormalizeLineBreaksVisitor<P> NormalizeTabsOrSpaces NormalizeTabsOrSpacesVisitor<P> RemoveTrailingWhitespace RemoveTrailingWhitespaceVisitor<P> ShiftFormat Less 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.SingleLineComments Spaces SpacesVisitor<P> TabsAndIndents TabsAndIndentsVisitor<P> WrappingAndBraces WrappingAndBracesVisitor<P>