1
2
3
4
5
6
7
8
9 package com.puppycrawl.tools.checkstyle.checks.coding.constructorsdeclarationgrouping;
10
11
12 public class Example2 {
13
14 int x;
15
16 Example2() {}
17
18 Example2(String s){}
19
20 void foo() {}
21
22 Example2(int x) {}
23
24 Example2(String s, int x) {}
25
26 private enum ExampleEnum {
27
28 ONE, TWO, THREE;
29
30 ExampleEnum() {}
31
32 ExampleEnum(int x) {}
33
34 final int x = 10;
35
36 ExampleEnum(String str) {}
37
38 void foo() {}
39 }
40
41 Example2(float f) {}
42 }
43