View Javadoc
1   /*
2   ExecutableStatementCount
3   max = 0
4   tokens = STATIC_INIT
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.sizes.executablestatementcount;
10  
11  public class InputExecutableStatementCountStaticInit {
12      // STATIC_INIT
13      static { // violation
14          int i = 1;
15          if (System.currentTimeMillis() == 0) {
16          } else if (System.currentTimeMillis() == 0) {
17          } else {
18          }
19      }
20  }