简体   繁体   English

如何修改Javadoc以隐藏特定的类

[英]How can I modify Javadoc to hide specific classes

I would like to get a javadoc which include documentation of all my classes out of one class. 我想得到一个Javadoc,其中包括一个类中所有类的文档。 I don't want this class to be private - and then to make th javadoc over public classes only - but would like to know if there is a way I can set somewhere a name of a class that I don't want to be shown in the javadoc - or maybe there is a tag that I can put on the class and then the Javadoc does not include it. 我不希望此类是私有的,然后仅使Javadoc成为公共类,但是我想知道是否有一种方法可以在某处设置一个我不想显示的类名在javadoc中-也许有一个标签可以放在类中,然后Javadoc不包含它。

You can exclude a class from javadoc. 您可以从javadoc中排除类。 However if the class is reference somewhere then the name will appear in that javadoc. 但是,如果该类在某处引用,则该名称将出现在该javadoc中。

You are talking about hiding even that then what is the point of making javadoc if user can not see what the correct signature? 您甚至在谈论隐藏,如果用户看不到正确的签名,那么制作javadoc的意义何在?

http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/javadoc.html#exclude http://docs.oracle.com/javase/1.5.0/docs/tooldocs/windows/javadoc.html#exclude

从您的代码临时删除它,并生成代码,然后将其返回

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM