View Javadoc
1   /*xml
2   <module name="Checker">
3     <property name="fileExtensions" value="xml"/>
4   
5     <module name="RegexpSingleline">
6       <property name="id" value="typeCode"/>
7       <property name="format"
8           value="param\s+name=&quot;type&quot;\s+value=&quot;code&quot;"/>
9       <property name="message"
10          value="Type code is not allowed. Use type raw instead."/>
11    </module>
12  
13    <module name="RegexpSingleline">
14      <property name="id" value="typeConfig"/>
15      <property name="format"
16          value="param\s+name=&quot;type&quot;\s+value=&quot;config&quot;"/>
17      <property name="message" value="Type config is not allowed in this file."/>
18    </module>
19  
20    <module name="SuppressWithPlainTextCommentFilter">
21      <property name="offCommentFormat" value="CSOFF (\w+) \(([\w\s]+)\)"/>
22      <property name="onCommentFormat" value="CSON (\w+)"/>
23      <property name="idFormat" value="$1"/>
24    </module>
25  
26  </module>
27  */
28  
29  package com.puppycrawl.tools.checkstyle.filters.suppresswithplaintextcommentfilter;
30  
31  public class Example7 { }
32  
33  // xdoc section -- start
34  // xdoc section -- end