Annotation to disable JavaDocs

前端 未结 4 1260
北恋
北恋 2021-01-18 14:32

Is there an annotation to declare that a certain method will not be included in the JavaDocs even though it is public?

Something like:

@nojavadocs
p         


        
4条回答
  •  悲&欢浪女
    2021-01-18 14:55

    Not if you're using Sun's JavaDocs tool.

    They have a feature request for it, but it's been in low priority since 1997.

    You can write a custom doclet to overcome this, or use a 3rd-party tool (DocFlex or such).

提交回复
热议问题