类 JavaCommentsHelper
java.lang.Object
com.palantir.javaformat.java.JavaCommentsHelper
- 所有已实现的接口:
CommentsHelper
JavaCommentsHelper extends CommentsHelper to rewrite Java comments.-
构造器概要
构造器构造器说明JavaCommentsHelper(String lineSeparator, com.palantir.javaformat.java.JavaFormatterOptions options) -
方法概要
-
构造器详细资料
-
JavaCommentsHelper
public JavaCommentsHelper(String lineSeparator, com.palantir.javaformat.java.JavaFormatterOptions options)
-
-
方法详细资料
-
rewrite
从接口复制的说明:CommentsHelperTry to rewrite comments, returning rewritten text.- 指定者:
rewrite在接口中CommentsHelper- 参数:
tok- the comment's tokmaxWidth- the line length for the outputcolumn0- the current column- 返回:
- the rewritten comment
-