public final class JavaCommentsHelper extends Object implements CommentsHelper
JavaCommentsHelper extends CommentsHelper to rewrite Java comments.| Constructor and Description |
|---|
JavaCommentsHelper(String lineSeparator,
JavaFormatterOptions options) |
| Modifier and Type | Method and Description |
|---|---|
String |
rewrite(Input.Tok tok,
int maxWidth,
int column0)
Try to rewrite comments, returning rewritten text.
|
public JavaCommentsHelper(String lineSeparator, JavaFormatterOptions options)
public String rewrite(Input.Tok tok, int maxWidth, int column0)
CommentsHelperrewrite in interface CommentsHelpertok - the comment's tokmaxWidth - the line length for the outputcolumn0 - the current columnCopyright © 2015–2017 Google Inc.. All rights reserved.