1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="ParameterName"> 5 <property name="format" value="^[a-z][_a-zA-Z0-9]+$"/> 6 </module> 7 </module> 8 </module> 9 */ 10 11 package com.puppycrawl.tools.checkstyle.checks.naming.parametername; 12 13 // xdoc section -- start 14 class Example2 { 15 void method1(int v1) {} 16 void method2(int v_2) {} 17 void method3(int V3) {} // violation 18 } 19 // xdoc section -- end