Bug 382725 - [hovering] Get JavaDoc for deprecated methods
Summary: [hovering] Get JavaDoc for deprecated methods
Status: CLOSED DUPLICATE of bug 36754
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 07:42 EDT by Marvin Fröhlich CLA
Modified: 2012-06-15 07:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin Fröhlich CLA 2012-06-15 07:42:55 EDT
Build Identifier: 20110916-0149

Whenever I use a deprecated method it is displayed with strike-through and marked as warning. So far so good.

Now I am interested in the reason for the deprecation. But eclipse doesn't display the reason, that is usually denoted with the @deprecated JavaDoc key.

1. Eclipse should always display that reason when hovering over the deprecated method call or the yellow symbol to the left of the code.
2. When pressing F2 after placing the caret on the deprecated call the regular JavaDoc should be displayed instead of the warning message, that is known anyway and displayed when hovering. Currently I have no chance to view the JavaDoc from within Eclipse, but by adding a SuppressWarnings annotation and requesting the JavaDoc afterwards.

Reproducible: Always
Comment 1 Dani Megert CLA 2012-06-15 07:47:39 EDT
If you hover while Ctrl+Shift is pressed, you'll get the Javadoc.

*** This bug has been marked as a duplicate of bug 36754 ***