</rule>
<rule>
<repositoryKey>checkstyle</repositoryKey>
- <key>com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterName</key>
+ <key>com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck</key>
</rule>
<rule>
<repositoryKey>checkstyle</repositoryKey>
- <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterName</key>
+ <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck</key>
</rule>
</rules>
</profile>
</rule>
<rule>
<repositoryKey>checkstyle</repositoryKey>
- <key>com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterName</key>
+ <key>com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck</key>
</rule>
<rule>
<repositoryKey>checkstyle</repositoryKey>
- <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterName</key>
+ <key>com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck</key>
</rule>
</rules>
</profile>
<configKey><![CDATA[Checker/TreeWalker/OneStatementPerLine]]></configKey>
</rule>
- <rule key="com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterName">
+ <rule key="com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck">
<priority>MAJOR</priority>
<name><![CDATA[Class Type Parameter Name]]></name>
<configKey><![CDATA[Checker/TreeWalker/ClassTypeParameterName]]></configKey>
</param>
</rule>
- <rule key="com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterName">
+ <rule key="com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck">
<priority>MAJOR</priority>
<name><![CDATA[Method Type Parameter Name]]></name>
<configKey><![CDATA[Checker/TreeWalker/MethodTypeParameterName]]></configKey>
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck.param.maxProtected=maximum allowable number of protected methods.
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck.param.maxPublic=maximum allowable number of public methods.
rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.coding.OneStatementPerLineCheck.name=One Statement Per Line
-rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterName.name=Class Type Parameter Name
-rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterName.name=Method Type Parameter Name
+rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.name=Class Type Parameter Name
+rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.name=Method Type Parameter Name
+++ /dev/null
-Checks that class parameter names conform to the specified format
--- /dev/null
+Checks that class parameter names conform to the specified format
+
+<p>
+The following code snippet illustrates this rule for format "^[A-Z]$":
+</p>
+<pre>
+class Something<type> { // Non-compliant
+}
+
+class Something<T> { // Compliant
+}
+</pre>
+++ /dev/null
-Checks that method type parameter names conform to the specified format
--- /dev/null
+Checks that method type parameter names conform to the specified format
+
+<p>
+The following code snippet illustrates this rule for format "^[A-Z]$":
+</p>
+<pre>
+public <type> type method() { // Non-compliant
+ return null;
+}
+
+public <T> T method() { // Compliant
+}
+</pre>