1
2
3
4
5
6
7
8
9
10
11 package com.puppycrawl.tools.checkstyle.checks.sizes.methodcount;
12
13
14 class Example3 {
15
16 public void outerMethod1(int i) {}
17 public void outerMethod2() {}
18 public void outerMethod3(String str) {}
19
20 private void outerMethod4() {
21 Runnable r = (new Runnable() {
22 public void run() {}
23 });
24 }
25
26 private void outerMethod5(int i) {}
27 void outerMethod6(int i, int j) {}
28
29 public static class InnerExample{
30 public void innerMethod1() {}
31 public void innerMethod2() {}
32 }
33 }
34