{@inheritDoc} not inheriting superclass javadoc in Eclipse

后端 未结 1 761
情歌与酒
情歌与酒 2021-02-15 11:17

When I use {@inheritDoc} in Eclipse, the superclass\'s javadoc comments are not appearing in my class\'s javadoc.

I have the following piece of code:

imp         


        
1条回答
  •  醉梦人生
    2021-02-15 11:51

    It looks like the superclass's source (in this case AbstractTableModel.java) must be on the sourcepath of javadoc. This is done in Eclipse by creating a project for AbstractTableModel and selecting it in the "Select types for which Javadoc will be generated" selection during javadoc generation.

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