Package com.google.googlejavaformat.java
Class StringWrapper.Reflower
java.lang.Object
com.google.googlejavaformat.java.StringWrapper.Reflower
- Enclosing class:
StringWrapper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidindentTextBlocks(com.google.common.collect.TreeRangeMap<Integer, String> replacements, List<com.sun.source.tree.Tree> textBlocks) private voidwrapLongStrings(com.google.common.collect.TreeRangeMap<Integer, String> replacements, List<com.sun.source.util.TreePath> longStringLiterals)
-
Field Details
-
input
-
columnLimit
private final int columnLimit -
separator
-
unit
private final com.sun.tools.javac.tree.JCTree.JCCompilationUnit unit -
lineMap
private final com.sun.tools.javac.util.Position.LineMap lineMap
-
-
Constructor Details
-
Reflower
Reflower(int columnLimit, String input) throws FormatterException - Throws:
FormatterException
-
-
Method Details
-
getReflowReplacements
-
indentTextBlocks
-
wrapLongStrings
-