com.puppycrawl.tools.checkstyle.meta.checks.javadoc.JavadocLeadingAsteriskAlignCheck.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkstyle Show documentation
Show all versions of checkstyle Show documentation
Checkstyle is a development tool to help programmers write Java code
that adheres to a coding standard
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocLeadingAsteriskAlignCheck" name="JavadocLeadingAsteriskAlign" parent="com.puppycrawl.tools.checkstyle.TreeWalker"> <description><div> Checks the alignment of <a href="https://docs.oracle.com/en/java/javase/14/docs/specs/javadoc/doc-comment-spec.html#leading-asterisks"> leading asterisks</a> in a Javadoc comment. The Check ensures that leading asterisks are aligned vertically under the first asterisk ( &#42; ) of opening Javadoc tag. The alignment of closing Javadoc tag ( &#42;/ ) is also checked. If a closing Javadoc tag contains non-whitespace character before it then it's alignment will be ignored. If the ending javadoc line contains a leading asterisk, then that leading asterisk's alignment will be considered, the closing Javadoc tag will be ignored. </div> <p> If you're using tabs then specify the the tab width in the <a href="https://checkstyle.org/config.html#tabWidth">tabWidth</a> property. </p></description> <properties> <property default-value="false" name="violateExecutionOnNonTightHtml" type="boolean"> <description>Control when to print violations if the Javadoc being examined by this check violates the tight html rules defined at <a href="https://checkstyle.org/writingjavadocchecks.html#Tight-HTML_rules">Tight-HTML Rules</a>.</description> </property> </properties> <message-keys> <message-key key="javadoc.asterisk.indentation"/> <message-key key="javadoc.missed.html.close"/> <message-key key="javadoc.parse.rule.error"/> <message-key key="javadoc.unclosedHtml"/> <message-key key="javadoc.wrong.singleton.html.tag"/> </message-keys> </check> </module> </checkstyle-metadata>