void () { // See IDEADEV-14028 configureByText(JavaFileType.INSTANCE, """ class Foo { { Runnable r = () -> { if (true) return; <caret>return; } } }"""); ctrlShiftF7(); assertRangeText("return;", "return;"); }