com.puppycrawl.tools.checkstyle.meta.checks.naming.StaticVariableNameCheck.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
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><div> Checks that {@code static}, non-{@code final} variable names conform to a specified pattern. </div></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>