1 package org.checkstyle.suppressionxpathfilter.nestedifdepth; 2 3 public class InputXpathNestedIfDepthMax { 4 public void test() { 5 int a = 1; 6 int b = 2; 7 int c = 3; 8 if (a > b) { 9 if (c > b) { 10 if (c > a) { 11 if (1 == 2) { 12 if (2 == 3) { // warn 13 14 } 15 } 16 } 17 } 18 } 19 } 20 }