void () { // See IDEADEV-14028 configureByText(JavaFileType.INSTANCE, """ class Foo { int foo(boolean b) { try { if (b) return 1; } finally { if (b) return 2; } <caret>return 3; } }"""); ctrlShiftF7(); assertRangeText("return 1;", "return 2;", "return 3;"); }