A method that overrides another method does not inherit documentation of the method it is overriding. Is there any way to explicitly tell it to inherit the documentation?
/**
* {@inheritDoc}
*
* This implementation uses a dynamic programming approach.
*/
@Override
public int[] a(int b) {
return null;
}
...
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:
import javax.swing.table.AbstractTableModel;
public class TestTableModel extends AbstractTableModel {
/**
* {@inheritDoc}
*/
@Override
public int getRowCount() {
return 1;
}
@Override...
Hello,
I would like to use the {@inheritDoc} class to inherit methods from my abstract class. In the documentation for the abstract class, I refer to the abstract class by name. How can I tag this so when the subclass inherits the documentation from the super class, it replaces the abstract class's name with the subclass's name?
Than...
I generate documentation for a project using an Ant task. In several places, I wanted to inherit documentation from the standard classes, so I used {@inheritDoc} which allowed me to see the Javadoc in Eclipse, but it wouldn't show up in the HTML files. The problem was that I hadn't included the unzipped src.zip (J2SE source) in the sourc...