com.puppycrawl.tools.checkstyle.meta.checks.naming.LocalFinalVariableNameCheck.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck" name="LocalFinalVariableName" parent="com.puppycrawl.tools.checkstyle.TreeWalker"> <description><p> Checks that local final variable names conform to a specified pattern. A catch parameter and resources in try statements are considered to be a local, final variables. </p></description> <properties> <property default-value="^[a-z][a-zA-Z0-9]*$" name="format" type="java.util.regex.Pattern"> <description>Specifies valid identifiers.</description> </property> <property default-value="VARIABLE_DEF,PARAMETER_DEF,RESOURCE" name="tokens" type="java.lang.String[]" validation-type="tokenSet"> <description>tokens to check</description> </property> </properties> <message-keys> <message-key key="name.invalidPattern"/> </message-keys> </check> </module> </checkstyle-metadata>