View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="RegexpHeader">
4       <property name="headerFile" value="${config.folder}/java.header"/>
5       <property name="multiLines" value="10, 13"/>
6     </module>
7   </module>
8   */
9   // xdoc section -- start
10  package com.puppycrawl.tools.checkstyle.checks.header.regexpheader;
11  /* violation on first line 'Missing a header - not enough lines in file.' */
12  public class Example2 { }
13  // xdoc section -- end
14  // violation 13 lines above 'Missing a header - not enough lines in file.'