Case is Unreachable (CU)

Description:

CU detects if a constant in a switch case is out of range of the switch expression or has an incompatible bit mask with the switch expression.

Example:

public void select(char ch, int i) { 
    switch (ch) { 
      case 1:          
      case 2:          
      case 3:          
        ...
      case 256: // constant is out of range of switch expression
    }
    switch (i & ~1) { 
      case 0:  
      case 0xabcde:
        ...
      case 1: // switch expression is always even
    }
}