All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.starter.ignite.util.ExtractCommentsDoclet Maven / Gradle / Ivy

There is a newer version: 0.9.25
Show newest version
package io.starter.ignite.util;

/**
 * TODO: FIX THE tools.jar path issue
 * 
 * @author John McMahon (@TechnoCharms)
 *
 */
public class ExtractCommentsDoclet {

	/*
	 * public static boolean start(RootDoc root) throws IOException { for (ClassDoc
	 * c : root.classes()) { print(c.qualifiedName(), c.commentText()); for
	 * (FieldDoc f : c.fields(false)) { print(f.qualifiedName(), f.commentText()); }
	 * for (MethodDoc m : c.methods(false)) { print(m.qualifiedName(),
	 * m.commentText()); if (m.commentText() != null && m.commentText().length() >
	 * 0) { for (ParamTag p : m.paramTags()) print(m.qualifiedName() + "@" +
	 * p.parameterName(), p.parameterComment()); for (Tag t : m.tags("return")) { if
	 * (t.text() != null && t.text().length() > 0) print(m.qualifiedName() +
	 * "@return", t.text()); } } } } return true; }
	 * 
	 * private static void print(String name, String comment) throws IOException {
	 * if (comment != null && comment.length() > 0) { comment = "

" + * comment + "

"; new FileWriter(name + * ".html").append(comment).close(); } } * */ }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy