File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/main/java/com/puppycrawl/tools/checkstyle/api Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,26 @@ public final class JavadocCommentsTokenTypes {
4848
4949 /**
5050 * Leading asterisk used to format Javadoc lines.
51+ *
52+ * <p><b>Example:</b></p>
53+ * <pre>{@code
54+ * /**
55+ * * This is a Javadoc line.
56+ * * /
57+ * }</pre>
58+ *
59+ * <p><b>Tree:</b></p>
60+ * <pre>{@code
61+ * --BLOCK_COMMENT_BEGIN -> /**
62+ * |--COMMENT_CONTENT -> *\r\n * This is a Javadoc line.\r\n
63+ * | `--JAVADOC_CONTENT -> JAVADOC_CONTENT
64+ * | |--NEWLINE -> \r\n
65+ * | |--LEADING_ASTERISK -> *
66+ * | |--TEXT -> This is a Javadoc line.
67+ * | |--NEWLINE -> \r\n
68+ * | `--TEXT ->
69+ * ` --BLOCK_COMMENT_END -> *
70+ * }</pre>
5171 */
5272 public static final int LEADING_ASTERISK = JavadocCommentsLexer .LEADING_ASTERISK ;
5373
You can’t perform that action at this time.
0 commit comments