PsiDocTag (PsiDocCommentOwner owner, PsiDocComment comment) { if (comment != null) { PsiDocTag returnTag = comment.findTagByName(RETURN_TAG); if (returnTag != null) { return returnTag; } if (PsiUtil.isLanguageLevel16OrHigher(comment)) { for (PsiElement child : comment.getChildren()) { if (child instanceof PsiDocTag && RETURN_TAG.equals(((PsiDocTag)child).getName())) { return (PsiDocTag)child; } } } } return null; }