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

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

<?xml version="1.0" encoding="UTF-8"?>
<checkstyle-metadata>
   <module>
      <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck"
             name="MemberName"
             parent="com.puppycrawl.tools.checkstyle.TreeWalker">
         <description>&lt;p&gt;
 Checks that instance variable names conform to a specified pattern.
 &lt;/p&gt;</description>
         <properties>
            <property default-value="true" name="applyToPackage" type="boolean">
               <description>Controls whether to apply the check to package-private member.</description>
            </property>
            <property default-value="true" name="applyToPrivate" type="boolean">
               <description>Controls whether to apply the check to private member.</description>
            </property>
            <property default-value="true" name="applyToProtected" type="boolean">
               <description>Controls whether to apply the check to protected member.</description>
            </property>
            <property default-value="true" name="applyToPublic" type="boolean">
               <description>Controls whether to apply the check to public member.</description>
            </property>
            <property default-value="^[a-z][a-zA-Z0-9]*$"
                      name="format"
                      type="java.util.regex.Pattern">
               <description>Specifies valid identifiers.</description>
            </property>
         </properties>
         <message-keys>
            <message-key key="name.invalidPattern"/>
         </message-keys>
      </check>
   </module>
</checkstyle-metadata>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy