通过注释过滤javadoc [英] filtering javadoc via annotations

查看:44
本文介绍了通过注释过滤javadoc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使用@nnotations标记要从javadoc中排除的类或方法.

I would like to be able to use @nnotations to mark classes or methods for exclusion from javadoc.

是否有一种方法可以为此目的对标准doclet进行子类化?首次通过javadoc-doc并没有给出解决方案.

Is there a way to subclass the standard doclet for this purpose? A first pass over the javadoc-doc didn't reveal a solution.

推荐答案

已提出但目前尚未实现@exclude注释

Is proposed but not currently implemented the annotation @exclude

在链接中,您可以找到实现了@exclude的javadoc的重新实现

In the link you can find a re-implementation of javadoc, with @exclude implemented

http://www.dzone.com/links/javadoc_tool_with_exclude_tag.html

这篇关于通过注释过滤javadoc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆