void () { configureByText(JavaFileType.INSTANCE, """ record A(String s) { void test() { <caret>s(); s(); String a = s; } }"""); ctrlShiftF7(); assertRangesAndTexts("17:18 s", "42:43 s", "51:52 s", "71:72 s"); }