/** * {@inheritDoc} */ public Content getTagletOutput(Doc holder, TagletWriter writer) { SeeTag[] tags = holder.seeTags(); if (tags.length == 0 && holder instanceof MethodDoc) { DocFinder.Output inheritedDoc = DocFinder.search(new DocFinder.Input((MethodDoc) holder, this)); if (inheritedDoc.holder != null) { tags = inheritedDoc.holder.seeTags(); } } return writer.seeTagOutput(holder, tags); } }
/** * {@inheritDoc} */ public TagletOutput getTagletOutput(Doc holder, TagletWriter writer) { SeeTag[] tags = holder.seeTags(); if (tags.length == 0 && holder instanceof MethodDoc) { DocFinder.Output inheritedDoc = DocFinder.search(new DocFinder.Input((MethodDoc) holder, this)); if (inheritedDoc.holder != null) { tags = inheritedDoc.holder.seeTags(); } } return writer.seeTagOutput(holder, tags); } }