本文介绍了如何创建自定义javadoc标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何创建自定义javadoc标记(例如@pre/@post)?我找到一些解释它的链接,但是我还没有运气.这些是一些链接:
How do I create custom javadoc tags such as @pre / @post? I found some links that explain it but I haven't had luck with them. These are some of the links:
http://www.developer.com/java/other/article.php/3085991/Javadoc-Programming.html
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html
推荐答案
java代码
/**
* @custom.mytag hey ho...
*/
java doc选项
-tag custom.mytag:a:"This is my Tag:"
输出
这篇关于如何创建自定义javadoc标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!