View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.uncommentedmain;
2   
3   public class InputUncommentedMain5
4   {
5       public static void main(String[] args)
6       {
7           System.identityHashCode("InputUncommentedMain.main()");
8       }
9   }
10  
11  class PC {
12  
13      // uncommented main with depth 2
14      public static void main(String[] args)
15      {
16          System.identityHashCode("PC.main()");
17      }
18  
19      //lets go deeper
20      private class PC2 {
21  
22          // uncommented main with depth 3
23          public void main(String[] args)
24          {
25              System.identityHashCode("PC.main()");
26          }
27  
28  
29      }
30  }