void () { UiInterceptors.register(new ChooserInterceptor(List.of("This reference only", "All 2 references and remove the variable"), "All 2 references and remove the variable")); doTest("Cannot perform refactoring.\n" + "Variable 'arr' is accessed for writing"); }