1 /*xml 2 <module name="Checker"> 3 <module name="Header"> 4 <property name="headerFile" value="${config.folder}/java.header"/> 5 <property name="ignoreLines" value="2, 3, 4"/> 6 <property name="fileExtensions" value="java"/> 7 </module> 8 </module> 9 */ 10 // xdoc section -- start 11 package com.puppycrawl.tools.checkstyle.checks.header.header; 12 /* violation on first line 'Missing a header - not enough lines in file' */ 13 // because content defined in 'headerFile' is bigger then target java file 14 public class Example4 { } 15 // xdoc section -- end 16 // violation 15 lines above 'Missing a header - not enough lines in file'