File tree Expand file tree Collapse file tree
config/jsoref-spellchecker
src/main/java/com/puppycrawl/tools/checkstyle/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -893,6 +893,7 @@ Mycheckstyle
893893mycompany
894894mycompanychecks
895895mycustom
896+ mycustomtag
896897myfile
897898myname
898899myproject
Original file line number Diff line number Diff line change @@ -464,7 +464,25 @@ public final class JavadocCommentsTokenTypes {
464464 public static final int SERIAL_FIELD_BLOCK_TAG = JavadocCommentsLexer .SERIAL_FIELD_BLOCK_TAG ;
465465
466466 /**
467- * Custom or unrecognized block tag.
467+ * {@code @customBlock} Javadoc block tag.
468+ *
469+ * <p>This type represents any block tag that is not explicitly recognized by Checkstyle,
470+ * such as a project-specific or malformed tag.</p>
471+ *
472+ * <p><b>Example:</b></p>
473+ * <pre>{@code * @mycustomtag This is a custom block tag.}</pre>
474+ * <b>Tree:</b>
475+ * <pre>{@code
476+ * JAVADOC_BLOCK_TAG -> JAVADOC_BLOCK_TAG
477+ * `--CUSTOM_BLOCK_TAG -> CUSTOM_BLOCK_TAG
478+ * |--AT_SIGN -> @
479+ * |--TAG_NAME -> customBlock
480+ * |--TEXT ->
481+ * `--DESCRIPTION -> DESCRIPTION
482+ * `--TEXT -> This is a custom block tag.
483+ * }</pre>
484+ *
485+ * @see #JAVADOC_BLOCK_TAG
468486 */
469487 public static final int CUSTOM_BLOCK_TAG = JavadocCommentsLexer .CUSTOM_BLOCK_TAG ;
470488
You can’t perform that action at this time.
0 commit comments