Class MultilineCommentLeadingAsteriskPresenceCheck

All Implemented Interfaces:
Configurable, Contextualizable

Checks that all lines in a multi-line block comment start with a leading asterisk (*), as required by the Google Java Style Guide ยง4.8.6.

For multi-line block comments, subsequent lines must start with * aligned with the * on the previous line. This check does not apply to single-line block comments (/* comment */).

Parent is com.puppycrawl.tools.checkstyle.TreeWalker

Violation Message Keys:

  • multiline.comment.missing.asterisk
Since:
13.3.0