View Javadoc
1   /*
2   BooleanExpressionComplexity
3   max = (default)3
4   tokens = (default)LAND, BAND, LOR, BOR, BXOR
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.metrics.booleanexpressioncomplexity;
10  
11  public class InputBooleanExpressionComplexityNPE
12  {
13      static {
14          try {
15              System.identityHashCode("a");
16          } catch (IllegalStateException | IllegalArgumentException e) {
17              throw new RuntimeException(e);
18          }
19      }
20  }