1 package org.checkstyle.suppressionxpathfilter.parameternumber; 2 3 public class InputXpathParameterNumberIgnoreAnnotatedBy { 4 static class InnerClass { 5 static { 6 new Object() { 7 void method() { 8 if (true) { 9 new Object() { 10 @MyAnno 11 void ignoredMethod(int a, @MyAnno int b, int c) { 12 13 } 14 15 void checkedMethod(int a, @MyAnno int b, int c) { // warn 16 17 } 18 }; 19 } 20 } 21 }; 22 } 23 } 24 25 @interface MyAnno {} 26 }