void () { final LanguageLevelProjectExtension ll = LanguageLevelProjectExtension.getInstance(getProject()); final LanguageLevel old = ll.getLanguageLevel(); ll.setLanguageLevel(LanguageLevel.JDK_1_5); try { final String path = BASE_PATH; configureByFile(path + "/AfterNew15.java"); performSmartCompletion(); select('\n', getSelected()); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); checkResultByFile(path + "/AfterNew15-out.java"); } finally { ll.setLanguageLevel(old); } }