// "Move 'x' into anonymous object" "true" class Test { public void test() { var ref = new Object() { int x = 12; }; Runnable r = () -> { ref.x++; }; } }