View Javadoc
1   /*
2   ParameterName
3   format = ^NO_WAY_MATEY$
4   ignoreOverridden = (default)false
5   accessModifiers = (default)public, protected, package, private
6   
7   
8   */
9   
10  package com.puppycrawl.tools.checkstyle.checks.naming.parametername;
11  
12  public class InputParameterNameCatchOnly {
13      int foo() {
14          if (System.currentTimeMillis() > 1000)
15              return 1;
16  
17          int test = 0;
18  
19          try
20          {
21              return 1;
22          }
23          catch (Exception e)
24          {
25              return 0;
26          }
27      }
28  
29      public InputParameterNameCatchOnly()
30      {
31          return;
32      }
33  
34      class InnerFoo
35      {
36          public void fooInnerMethod ()
37          {
38          }
39      }
40  }