String (@NotNull PsiModifierListOwner element) { PsiAnnotation annotation = AnnotationUtil.findAnnotation(element, CommonClassNames.JAVA_LANG_DEPRECATED); if (annotation != null) { PsiAnnotationMemberValue value = annotation.findAttributeValue("since"); if (value instanceof PsiExpression expression && ExpressionUtils.computeConstantExpression(expression) instanceof String since) { return since; } } return null; }