1 /*xml 2 <module name="Checker"> 3 <module name="MethodName"/> 4 <module name="SuppressionSingleFilter"> 5 <property name="files" value="Example5.java"/> 6 <property name="checks" value="MethodName"/> 7 </module> 8 </module> 9 */ 10 package com.puppycrawl.tools.checkstyle.filters.suppressionsinglefilter; 11 // xdoc section -- start 12 public class Example5 { 13 // filtered violation below 'Name 'example_Method' must match pattern' 14 public void example_Method() { 15 } 16 // filtered violation below 'Name 'Another_Method' must match pattern' 17 public void Another_Method() { 18 } 19 } 20 // xdoc section -- end