@Override
  protected boolean isDeprecated() {
    final PsiModifierListOwner element = getValue();
    return element != null && element.isValid() &&
           element instanceof PsiDocCommentOwner &&
           ((PsiDocCommentOwner)element).isDeprecated();
  }
@Override
  protected boolean isDeprecated()