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

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

Go to download

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.naming.StaticVariableNameCheck"
             name="StaticVariableName"
             parent="com.puppycrawl.tools.checkstyle.TreeWalker">
         <description>&lt;div&gt;
 Checks that {@code static}, non-{@code final} variable names conform to a specified pattern.
 &lt;/div&gt;</description>
         <properties>
            <property default-value="true" name="applyToPackage" type="boolean">
               <description>Control if check should apply to package-private
   members.</description>
            </property>
            <property default-value="true" name="applyToPrivate" type="boolean">
               <description>Control if check should apply to private members.</description>
            </property>
            <property default-value="true" name="applyToProtected" type="boolean">
               <description>Control if check should apply to protected
   members.</description>
            </property>
            <property default-value="true" name="applyToPublic" type="boolean">
               <description>Control if check should apply to public members.</description>
            </property>
            <property default-value="^[a-z][a-zA-Z0-9]*$"
                      name="format"
                      type="java.util.regex.Pattern">
               <description>Sets the pattern to match valid identifiers.</description>
            </property>
         </properties>
         <message-keys>
            <message-key key="name.invalidPattern"/>
         </message-keys>
      </check>
   </module>
</checkstyle-metadata>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy