View Javadoc
1   package org.checkstyle.suppressionxpathfilter.parameterassignment;
2   
3   public class InputXpathParameterAssignmentLambdas {
4   
5       public interface SomeInterface {
6           void method(int a);
7       }
8   
9       SomeInterface obj1 = q -> q++; // warn
10      void method() {
11          int q = 12;
12          SomeInterface obj = (d) -> {
13              SomeInterface b = (c) -> obj1.equals(this); // ok
14              int c = 12;
15              c++;
16          };
17      }
18  }