void () { doTest(""" import java.util.function.Function; class X { private String s; void m() { Function<String, String> f = (/*Lambda parameter 's' hides field in class 'X'*/s/**/) -> null; } }"""); }