View Javadoc
1   package org.checkstyle.suppressionxpathfilter.indentation;
2   
3   interface MyLambdaInterface {
4       int foo(int a, int b);
5   };
6   
7   public class InputXpathIndentationLambdaTwo {
8       void test() {
9           MyLambdaInterface div = (a, b)
10              -> {
11                  if(b != 0) {
12                      return a/b;
13                  }
14                return 0; // warn
15          };
16      }
17  }