Examples of commentText()


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

      if (!isEntity(classes[i])) continue;
      ClassDoc classDoc = classes[i];

      String className = getEntityName(classDoc);
      // find table comment
      String comments = processComment(classDoc.commentText());
      if (null != comments) {
        enOut.write("\nentity." + className + "=" + StrUtils.unCamel(StringUtils.capitalize(className), ' ',false) + "\n");
        zhOut.write("\nentity." + className + "=" + comments + "\n");
      } else {
        nocomments.append(classDoc.qualifiedName()).append('\n');
View Full Code Here

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

      if (null == tableName) {
        System.out.println("Cannot find tablenam for " + classDoc.qualifiedName());
        continue;
      }
      // find table comment
      String tableComment = processComment(classDoc.commentText());
      if (null != tableComment) {
        out.write("\ncomment on table " + tableName + " is '" + tableComment + "';\n");
      } else {
        nocomments.append(classDoc.qualifiedName()).append('\n');
        nocomment++;
View Full Code Here

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

               // put placeholder to stop recursion for self-referential types
               LOG.debug("Starting to cache: " + type.typeName());
               processedTypes.put(type.toString(), "");

               LOG.debug(typeDoc.commentText() + "  " + leafType);
               if (leafType && !typeDoc.commentText().isEmpty()) {
                  typeInfo +=
                     "<tr><span class=\"javadoc-header\">"
                        + typeDoc.commentText() + "</span></tr>";
                  LOG.debug(typeInfo);
View Full Code Here

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

               // put placeholder to stop recursion for self-referential types
               LOG.debug("Starting to cache: " + type.typeName());
               processedTypes.put(type.toString(), "");

               LOG.debug(typeDoc.commentText() + "  " + leafType);
               if (leafType && !typeDoc.commentText().isEmpty()) {
                  typeInfo +=
                     "<tr><span class=\"javadoc-header\">"
                        + typeDoc.commentText() + "</span></tr>";
                  LOG.debug(typeInfo);
               }
View Full Code Here

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

               LOG.debug(typeDoc.commentText() + "  " + leafType);
               if (leafType && !typeDoc.commentText().isEmpty()) {
                  typeInfo +=
                     "<tr><span class=\"javadoc-header\">"
                        + typeDoc.commentText() + "</span></tr>";
                  LOG.debug(typeInfo);
               }

               if (typeDoc.isEnum()) {
View Full Code Here

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

            m.put(cd.name(), cd.desc());
         } else {
            if (e instanceof Class<?>) {
               Class<?> clazz = (Class<?>) e;
               ClassDoc classDoc = rootDoc.classNamed(clazz.getName());
               m.put(cd.name(), classDoc.commentText());
            }
         }
      }
   }
View Full Code Here

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

      Element cls = document.createElement("class");
      functions.appendChild(cls);
      if (classDoc.tags("prefix").length == 1) {
        cls.setAttribute("prefix", classDoc.tags("prefix")[0].text());
      }
      cls.setAttribute("description", classDoc.commentText());

      MethodDoc[] methods = classDoc.methods();
      for (int j = 0; j < methods.length; j++) {
        MethodDoc method = methods[j];
        Element function = document.createElement("function");
View Full Code Here

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

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

    return buildDoc(doc.commentText());
  }

  @Override
  public String getClassDeprecatedTag(Class<?> resourceClass)
  {
View Full Code Here

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

      if (field.isAnnotationPresent(ConfigurationDoc.class)) {
         desc = field.getAnnotation(ConfigurationDoc.class).desc();
      } else if (field.isAnnotationPresent(ConfigurationDocRef.class)) {
         ConfigurationDocRef docRef = field.getAnnotation(ConfigurationDocRef.class);
         Doc fieldDocRec = findDocElement(docRef.bean(), docRef.targetElement());
         desc = fieldDocRec.commentText();
      }
      return desc;
   }

   protected Field findField(Class<?> clazz, String name) {
View Full Code Here

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

      open("td id='ec_" + enumConst.name() + "'");
      print(enumConst.name());
      close("td");
      open("td");
      Doc javaDoc = enumConst;
      if (!Utils.isEmptyOrNull(javaDoc.commentText())) {
        writer.printInlineComment(javaDoc);
      }
      close("td");
      close("tr");
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.