All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.puppycrawl.tools.checkstyle.meta.checks.NoCodeInFileCheck.xml Maven / Gradle / Ivy

Go to download

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard

There is a newer version: 8.8
Show newest version
<?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>&lt;div&gt;
 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:
 &lt;/div&gt;

 &lt;ul&gt;
 &lt;li&gt;
 File with no text
 &lt;/li&gt;
 &lt;li&gt;
 File with single-line comment(s)
 &lt;/li&gt;
 &lt;li&gt;
 File with a multi line comment(s).
 &lt;/li&gt;
 &lt;/ul&gt;</description>
         <message-keys>
            <message-key key="nocode.in.file"/>
         </message-keys>
      </check>
   </module>
</checkstyle-metadata>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy