rulesets.java.naming.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <ruleset name="Naming" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"> <description> The Naming Ruleset contains rules regarding preferred usage of names and identifiers. </description> <!-- Rules, that have been moved into a category --> <rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName" deprecated="true" /> <rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingTypeName" deprecated="true" /> <rule ref="category/java/errorprone.xml/MethodWithSameNameAsEnclosingClass" deprecated="true" /> <rule ref="category/java/errorprone.xml/SuspiciousEqualsMethodName" deprecated="true" /> <rule ref="category/java/errorprone.xml/SuspiciousHashcodeMethodName" deprecated="true" /> <rule ref="category/java/codestyle.xml/AbstractNaming" deprecated="true" /> <rule ref="category/java/codestyle.xml/AvoidDollarSigns" deprecated="true" /> <rule ref="category/java/codestyle.xml/BooleanGetMethodName" deprecated="true" /> <rule ref="category/java/codestyle.xml/ClassNamingConventions" deprecated="true" /> <rule ref="category/java/codestyle.xml/GenericsNaming" deprecated="true" /> <rule ref="category/java/codestyle.xml/LongVariable" deprecated="true" /> <rule ref="category/java/codestyle.xml/MethodNamingConventions" deprecated="true" /> <rule ref="category/java/codestyle.xml/MIsLeadingVariableName" name="MisleadingVariableName" deprecated="true" /> <!-- also renamed --> <!-- providing also the new name, since RuleSetFactoryCompatibility will change existing rulesets to use the new rulename --> <rule ref="category/java/codestyle.xml/MIsLeadingVariableName" deprecated="true" /> <rule ref="category/java/codestyle.xml/NoPackage" deprecated="true" /> <rule ref="category/java/codestyle.xml/PackageCase" deprecated="true" /> <rule ref="category/java/codestyle.xml/ShortClassName" deprecated="true" /> <rule ref="category/java/codestyle.xml/ShortMethodName" deprecated="true" /> <rule ref="category/java/codestyle.xml/ShortVariable" deprecated="true" /> <rule ref="category/java/codestyle.xml/SuspiciousConstantFieldName" deprecated="true" /> <rule ref="category/java/codestyle.xml/VariableNamingConventions" deprecated="true" /> </ruleset>