1
2
3
4
5
6
7
8 package com.puppycrawl.tools.checkstyle.checks.uncommentedmain;
9
10
11
12
13
14 public class InputUncommentedMain
15 {
16
17 public static void main(String[] args)
18 {
19 System.identityHashCode("InputUncommentedMain.main()");
20 }
21 }
22
23 class Main1
24 {
25
26 public static void main(String[] args)
27 {
28 System.identityHashCode("Main.main()");
29 }
30 }
31
32 class UncommentedMainTest1
33 {
34
35 public static void main(java.lang.String[] args)
36 {
37 System.identityHashCode("test1.main()");
38 }
39 }
40
41 class UncommentedMainTest2
42 {
43
44 public static void main(int args)
45 {
46 System.identityHashCode("test2.main()");
47 }
48 }
49
50 class UncommentedMainTest3
51 {
52
53 static void main(String[] args)
54 {
55 System.identityHashCode("test3.main()");
56 }
57 }
58
59 class UncommentedMainTest4
60 {
61
62 public void main(String[] args)
63 {
64 System.identityHashCode("test4.main()");
65 }
66 }
67
68 class UncommentedMainTest5
69 {
70
71 public static int main(String[] args)
72 {
73 System.identityHashCode("test5.main()");
74 return 1;
75 }
76 }
77
78 class UncommentedMainTest6
79 {
80
81 public static void main(String[] args, int param)
82 {
83 System.identityHashCode("test6.main()");
84 }
85 }
86
87 class UncommentedMainTest7
88 {
89
90 public static void main()
91 {
92 System.identityHashCode("test7.main()");
93 }
94 }
95
96 class UncommentedMainTest8
97 {
98
99 public static void main(String... args)
100 {
101 System.identityHashCode("test8.main()");
102 }
103 }
104
105 class UncommentedMainTest9
106 {
107
108 public static void main(String args)
109 {
110 System.identityHashCode("test9.main()");
111 }
112 }