View Javadoc
1   package org.checkstyle.suppressionxpathfilter.lambdabodylength;
2   
3   import java.util.function.Function;
4   
5   public class InputXpathLambdaBodyLengthCustomMax {
6       void test() {
7           Runnable r = () -> { // warn
8               method(2);
9               method(3);
10              method(4);
11              method(5);
12          };
13      }
14  
15      void method(int i) {}
16  }