View Javadoc
1   package org.checkstyle.suppressionxpathfilter.descendanttoken;
2   
3   public class InputXpathDescendantTokenSwitchNoDefault {
4   
5       void testMethod1() {
6           int x = 1;
7           switch (x) { // warn
8               case 1:
9                   System.out.println("hi");
10                  break;
11          }
12      }
13   }