boolean (@NotNull Project project, Editor editor, PsiFile file) { Module module = ModuleUtilCore.findModuleForFile(file); return module != null && !JavaSdkUtil.isLanguageLevelAcceptable(project, module, myLevel); }