com.puppycrawl.tools.checkstyle.meta.checks.naming.PatternVariableNameCheck.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
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.naming.PatternVariableNameCheck" name="PatternVariableName" parent="com.puppycrawl.tools.checkstyle.TreeWalker"> <description><p> Checks that pattern variable names conform to a specified pattern. </p></description> <properties> <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>