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(LanguageLevel.JDK_1_8); }