boolean (PsiModifierListOwner element) { final PsiModifierList modifierList = element.getModifierList(); return modifierList != null && modifierList.hasAnnotation(CommonClassNames.JAVA_LANG_DEPRECATED); }