View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="JavaNCSS"/>
5     </module>
6   </module>
7   */
8   // xdoc section -- start
9   package com.puppycrawl.tools.checkstyle.checks.metrics.javancss;
10  
11  class Example1 {
12  
13    public void testMethod1() {
14      System.out.println("m-1:Line 1");
15      System.out.println("m-1:Line 2");
16      System.out.println("m-1:Line 3");
17      System.out.println("m-1:Line 4");
18      System.out.println("m-1:Line 5");
19    }
20  
21    public void testMethod2() {
22      System.out.println("m-2:Line 1");
23      System.out.println("m-2:Line 2");
24      System.out.println("m-2:Line 3");
25    }
26  }
27  // xdoc section -- end