View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.naming.parametername;
2   
3   /**
4    * Test case for skipping over catch names.
5    **/
6   public class InputParameterNameCatchOnly {
7       int foo() {
8           if (System.currentTimeMillis() > 1000)
9               return 1;
10  
11          int test = 0;
12  
13          try
14          {
15              return 1;
16          }
17          catch (Exception e)
18          {
19              return 0;
20          }
21      }
22  
23      public InputParameterNameCatchOnly()
24      {
25          return;
26      }
27      
28      class InnerFoo
29      {
30          public void fooInnerMethod ()
31          {
32          }
33      }
34  }