View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.descendanttoken;
2   
3   public class InputDescendantTokenReturnFromCatch {
4       public void foo() {
5           try {
6               System.currentTimeMillis();
7           } catch (Exception e) {
8               return;
9           }
10      }
11  
12      public void bar() {
13          try {
14              System.currentTimeMillis();
15          } catch (Exception e) {
16              if (System.currentTimeMillis() == 0) {
17                  return; // return from if statement
18              }
19          }
20      }
21  }