boolean (@NotNull PsiModifierListOwner element) { PsiAnnotation annotation = AnnotationUtil.findAnnotation(element, CommonClassNames.JAVA_LANG_DEPRECATED); if (annotation != null) { return isForRemovalAttributeSet(annotation); } return false; }