
com.puppycrawl.tools.checkstyle.meta.checks.NoCodeInFileCheck.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.NoCodeInFileCheck" name="NoCodeInFile" parent="com.puppycrawl.tools.checkstyle.TreeWalker"> <description><div> Checks whether file contains code. Java compiler is not raising errors on files with no code or all commented out. Files which are considered to have no code: </div> <ul> <li> File with no text </li> <li> File with single-line comment(s) </li> <li> File with a multi line comment(s). </li> </ul></description> <message-keys> <message-key key="nocode.in.file"/> </message-keys> </check> </module> </checkstyle-metadata>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy