230231232233234235236237238239240
mOut.println("</DD>"); } } // return tag Tag[] returnTags = methodDoc.tags("@return"); if (returnTags.length > 0) { mOut.println("<DT><B>Returns:</B></DT>"); mOut.println("<DD>" + returnTags[0].text() + "</DD>"); }
389390391392393394395396397398399
for (int i = 0; i < methodDocArray.length; i++) { MethodDoc method = methodDocArray[i]; if (method.tags(EVENT_TAG).length > 0 || method.tags(ATTRIBUTE_TAG).length > 0) { return true; } }
202203204205206207208209210211212
public String getReturnDoc(Method method) { final MethodDoc methodDoc = _doclet.getMethodDoc(method); if (methodDoc != null) { for (Tag tag : methodDoc.tags()) { if(tag.name().toLowerCase().equals("@return")) { return buildDoc(tag.text()); }