Package com.sun.javadoc

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


            ClassDoc classDoc = (ClassDoc) tag.holder();

            if (firstSeen == null)
                firstSeen = classDoc;

            ClassDescription cd = getDescription(classDoc.qualifiedName());

            writeClassDescription(cd, writer);

            streamXdoc(classDoc, writer);
View Full Code Here


            ClassDoc classDoc = (ClassDoc) tag.holder();

            if (firstSeen == null)
                firstSeen = classDoc;

            ClassDescription cd = getDescription(classDoc.qualifiedName());

            writeClassDescription(cd, writer);

            streamXdoc(classDoc, writer);
View Full Code Here

      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');
        nocomment++;
      }

      // process classDoc and it's superClassDoc
      while (null != classDoc) {
View Full Code Here

            String columnName = StrUtils.unCamel(StringUtils.capitalize(fields[j].name()), ' ', false);
            enOut.write(className + "." + fields[j].name() + "=" + columnName + "\n");
            zhOut.write(className + "." + fields[j].name() + "=" + columnComment + "\n");
          } else {
            if (null != fields[j].position() && fields[j].position().column() > 0) {
              nocomments.append(classDoc.qualifiedName()).append('.').append(fields[j].name())
                  .append('\n');
              nocomment++;
            }
          }
        }
View Full Code Here

      ClassDoc classDoc = classes[i];

      // generate table name
      String tableName = getTableName(classDoc);
      if (null == tableName) {
        System.out.println("Cannot find tablenam for " + classDoc.qualifiedName());
        continue;
      }
      // find table comment
      String tableComment = processComment(classDoc.commentText());
      if (null != tableComment) {
View Full Code Here

      // 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++;
      }

      // process classDoc and it's superClassDoc
      while (null != classDoc) {
View Full Code Here

              out.write("comment on column " + tableName + "." + columnName + " is '"
                  + columnComment + "';\n");
            }
          } else {
            if (null != fields[j].position() && fields[j].position().column() > 0) {
              nocomments.append(classDoc.qualifiedName()).append('.').append(fields[j].name())
                  .append('\n');
              nocomment++;
            }
          }
        }
View Full Code Here

      if (cd != null) {
        ClassDoc outer = cd.containingClass();
        if (outer == null) return cd.qualifiedName();
        String simpleName = cd.name();
        simpleName = simpleName.substring(simpleName.lastIndexOf('.')+1);
        return outer.qualifiedName()+'$'+simpleName;
      } else {
        return t.qualifiedTypeName();
      }
    } else {
      StringWriter out = new StringWriter();
View Full Code Here

        /* Get referenced example bean
         */
        final ClassDoc containingClass = referencedMember.containingClass();
        final Object object;
        try {
            Field declaredField = Class.forName(containingClass.qualifiedName(), false, Thread.currentThread()
                    .getContextClassLoader()).getDeclaredField(referencedMember.name());
            if (referencedMember.isFinal()) {
                declaredField.setAccessible(true);
            }
            object = declaredField.get(null);
View Full Code Here

    }

    // see if excluded via its FQN
    if (this.options.getExcludeModelPrefixes() != null && !this.options.getExcludeModelPrefixes().isEmpty()) {
      for (String prefix : this.options.getExcludeModelPrefixes()) {
        String className = classDoc.qualifiedName();
        if (className.startsWith(prefix)) {
          return;
        }
      }
    }
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.