JavaDoc: where to add notes/remarks to documentation?

后端 未结 4 1899
轮回少年
轮回少年 2021-02-06 20:50

When coding in C# I have always found the tag remarks very useful for providing notes about the implementation of a class or method, or to give information about th

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-06 21:26

    With iteration 8 of the Java programming language, developers finally have been provided with three additional tags they can use in their code's documentation – and which should meet your needs: @apiNote, @implSpec and @implNote (cf., for instance, for a more detailed discussion: blog.codefx.org/java/new-javadoc-tags/).

提交回复
热议问题