类 JavadocFormatter
java.lang.Object
com.palantir.javaformat.java.javadoc.JavadocFormatter
Entry point for formatting Javadoc.
This stateless class reads tokens from the stateful lexer and translates them to "requests" and "writes" to the stateful writer. It also munges tokens into "standardized" forms. Finally, it performs postprocessing to convert the written Javadoc to a one-liner if possible or to leave a single blank line if it's empty.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明formatJavadoc(String input, int blockIndent) Formats the given Javadoc comment, which must start with ∕✱✱ and end with ✱∕.
-
构造器详细资料
-
JavadocFormatter
public JavadocFormatter(int maxLineLength)
-
-
方法详细资料
-
formatJavadoc
Formats the given Javadoc comment, which must start with ∕✱✱ and end with ✱∕. The output will start and end with the same characters.
-