
com.puppycrawl.tools.checkstyle.meta.checks.javadoc.JavadocPackageCheck.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
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck" name="JavadocPackage" parent="com.puppycrawl.tools.checkstyle.Checker"> <description><div> Checks that each Java package has a Javadoc file used for commenting. By default, it only allows a {@code package-info.java} file, but can be configured to allow a {@code package.html} file. </div> <p> A violation will be reported if both files exist as this is not allowed by the Javadoc tool. </p></description> <properties> <property default-value="false" name="allowLegacy" type="boolean"> <description>Allow legacy {@code package.html} file to be used.</description> </property> <property default-value=".java" name="fileExtensions" type="java.lang.String[]"> <description>Specify the file extensions of the files to process.</description> </property> </properties> <message-keys> <message-key key="javadoc.legacyPackageHtml"/> <message-key key="javadoc.packageInfo"/> </message-keys> </check> </module> </checkstyle-metadata>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy