Does “/* (non-javadoc)” have a well-understood meaning?

后端 未结 2 1950
北荒
北荒 2020-12-11 00:13

Does /* (non-javadoc) have a meaning, beyond pointing out to the reader of source code that a comment block is intentionally not a Javadoc comment? Lately I\'ve

相关标签:
2条回答
  • 2020-12-11 00:29

    According to the info I could find, this was to fix a bug in older versions of the JavaDoc tool (or more likely older version of Eclipse's processing of JavaDoc comments) that would not display the correct documentation for a method that overrides the method of a parent class.

    As noted by Konstantin, Eclipse's override template includes this text.

    0 讨论(0)
  • 2020-12-11 00:29

    It doesn't have an established meaning besides being a comment. The formatting is result of common Eclipse code formatting templates, which explains its commonality.

    0 讨论(0)
提交回复
热议问题