1
2
3
4
5
6
7
8
9 package com.puppycrawl.tools.checkstyle.checks.sizes.methodlength;
10
11 public class InputMethodLengthCountEmptySmallSize {}
12 class AA {
13 AA() {
14
15 }
16
17 AA(int a) {
18
19
20
21
22 }
23
24 AA(String a) {
25 oneLine();
26 }
27
28 void twoLines() {
29
30 }
31
32 void twoLines2() {
33 oneLine();}
34
35 void twoLinesAndComment() {
36
37 }
38
39 void oneLine() { oneLine();}
40
41 void threeLines() {
42 oneLine();
43 }
44
45 void threeLinesAndComments() {
46
47 oneLine();
48
49
50
51 }
52
53 void threeLinesWrap()
54
55 {
56
57 oneLine();
58
59
60
61 }
62
63 void m2() {
64 String a = "1";
65 a.concat("")
66 .concat("")
67 .concat("")
68 .concat("")
69 .concat("")
70 .concat("")
71 .concat("");
72 }
73 }