Examples of commentText()


Examples of com.sun.javadoc.Doc.commentText()

      open("td");
      printMemberType(member);
      close("td");
      open("td");
      Doc javaDoc = member.getMemberDoc();
      if (!Utils.isEmptyOrNull(javaDoc.commentText())) {
        writer.printInlineComment(javaDoc);
      }
      close("td");
      close("tr");
View Full Code Here

Examples of com.sun.javadoc.FieldDoc.commentText()

        // factory
        FieldDoc factoryField = TestAPIDoclet.getFactoryField(classDoc, root);
        if (factoryField != null) {
            mOut.println("<P>");
            mOut.println(factoryField.commentText());
        }

        // config tags
        Tag[] tags = classDoc.tags("@config");
        if (tags.length > 0) {
View Full Code Here

Examples of com.sun.javadoc.FieldDoc.commentText()

            StringBuilder additionalParameters = new StringBuilder();
            FieldDoc field = DocBoostUtils.findCorrespondingField(methodDoc.containingClass(), parameter);
            if (field == null)
              field = DocBoostUtils.findCorrespondingField(fullClassDoc, parameter);
           
        if (field != null && field.commentText() != null
            && !field.commentText().trim().isEmpty()) {
              String firstSentence = DocBoostUtils.getFirstSentence(field);
              additionalParameters.append(DocBoostUtils.TAG_PARAM).append(" ")
              .append( parameter.name()).append(" ")
              .append( firstSentence ).append("\n");
View Full Code Here

Examples of com.sun.javadoc.FieldDoc.commentText()

            FieldDoc field = DocBoostUtils.findCorrespondingField(methodDoc.containingClass(), parameter);
            if (field == null)
              field = DocBoostUtils.findCorrespondingField(fullClassDoc, parameter);
           
        if (field != null && field.commentText() != null
            && !field.commentText().trim().isEmpty()) {
              String firstSentence = DocBoostUtils.getFirstSentence(field);
              additionalParameters.append(DocBoostUtils.TAG_PARAM).append(" ")
              .append( parameter.name()).append(" ")
              .append( firstSentence ).append("\n");
          getLog().debug("fixed the parameter to " + firstSentence);
View Full Code Here

Examples of com.sun.javadoc.MethodDoc.commentText()

      for (int j = 0; j < methods.length; j++) {
        MethodDoc method = methods[j];
        Element function = document.createElement("function");
        cls.appendChild(function);
        function.setAttribute("name", method.name());
        function.setAttribute("description", method.commentText());
        function.setAttribute("type", method.returnType().typeName());

        Parameter[] params = method.parameters();
        for (int k = 0; k < params.length; k++) {
          Parameter param = params[k];
View Full Code Here

Examples of com.sun.javadoc.MethodDoc.commentText()

    if (doc == null)
    {
      return null;
    }

    return buildDoc(doc.commentText());
  }

  @Override
  public String getMethodDeprecatedTag(Method method)
  {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.