boolean (@NotNull PsiMethod superMethod, @NotNull PsiClass targetClass) { if (!JavaCodeStyleSettings.getInstance(targetClass.getContainingFile()).INSERT_OVERRIDE_ANNOTATION) { return false; } return canInsertOverride(superMethod, targetClass); }