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