1 /*xml 2 <module name="Checker"> 3 <module name="TreeWalker"> 4 <module name="AbbreviationAsWordInName"> 5 <property name="allowedAbbreviations" value="ALLOWED"/> 6 <property name="ignoreStaticFinal" value="false"/> 7 </module> 8 </module> 9 </module> 10 11 12 */ 13 14 package com.puppycrawl.tools.checkstyle.checks.naming.abbreviationaswordinname; 15 16 // xdoc section -- start 17 class Example7 { 18 int counterXYZ = 1; 19 final int customerID = 2; 20 static int nextID = 3; 21 static final int MAX_ALLOWED = 4; // OK, abbreviation is allowed 22 } 23 // xdoc section -- end