View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="CommentsIndentation"/>
5     </module>
6   </module>
7   */
8   package com.puppycrawl.tools.checkstyle.checks.indentation.commentsindentation;
9   
10  // xdoc section -- start
11  public class Example3 {
12    /////////////////////////////// it is OK
13  
14    public void foo1() {
15      int a = 0;
16    }
17      ///////////////////////////// It is not okay
18  
19    // violation 2 lines above 'Comment has incorrect indentation level 4'
20    public void foo2() {}
21  }
22  // xdoc section -- end