View Javadoc
1   ////////////////////////////////////////////////////////////////////////////////
2   // Test case file for checkstyle.
3   // Created: 2003
4   ////////////////////////////////////////////////////////////////////////////////
5   package com.puppycrawl.tools.checkstyle.checks.uncommentedmain;
6   
7   
8   public class InputUncommentedMain2
9   {
10      private class PC {
11          
12          // uncommented main with depth 2
13          public void main(String[] args)
14          {
15              System.identityHashCode("InputUncommentedMain.main()");
16          }
17          
18          //lets go deeper
19          private class PC2 {
20              
21              // uncommented main with depth 3
22              public void main(String[] args)
23              {
24                  System.identityHashCode("InputUncommentedMain.main()");
25              }
26              
27              
28          }
29      }
30      
31      public static void main(String[] args)
32      {
33          System.identityHashCode("InputUncommentedMain.main()");
34      }
35      
36  }
37  
38  interface IF {
39      
40      void main(String[] args);
41  }