View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="RedundantModifier"/>
5       <module name="SuppressionXpathSingleFilter">
6         <property name="checks" value="RedundantModifier"/>
7         <property name="query" value="//INTERFACE_DEF//*"/>
8       </module>
9     </module>
10  </module>
11  */
12  
13  package com.puppycrawl.tools.checkstyle.filters.suppressionxpathsinglefilter;
14  
15  // xdoc section -- start
16  public interface Example5 {
17    public int CONSTANT1 = 1; // filtered violation 'Redundant 'public' modifier.'
18  }
19  // xdoc section -- end