Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
11.0, 11.2, 11.3
Description
Steps to reproduce:
1) Create a class that extends AbstractList
2) Override the addAll method and add Javadoc like this:
public class ListImpl<E> extends AbstractList<E> { /** * Description. 0. ListImpl. * * @return <br> 1. ListImpl. * * @param index 2. ListImpl. * * @throws {@inheritDoc} */ @Override public boolean addAll(int index, Collection<? extends E> c) throws ClassCastException,IndexOutOfBoundsException { return true; } @Override public E get(int index) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public int size() { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. }}
The ToolTip shows this (see the first attachment):
but should show this (see the second attachment):
If a parameter has a Javadoc description in the local method Javadoc should use it. If a parameter doesn't have a local description Javadoc should use description inherited from the parent.
Attachments
Attachments
Issue Links
- links to