boolean (PsiElement context) { JavaCodeStyleSettings style = JavaCodeStyleSettings.getInstance(context.getContainingFile()); return style.INSERT_OVERRIDE_ANNOTATION && PsiUtil.isLanguageLevel5OrHigher(context); }