Bug 133345 - [hovering] Show Java 5 annotations in Missing @deprecated in Javadoc hover if member is marked with annotation
Summary: [hovering] Show Java 5 annotations in Missing @deprecated in Javadoc hover if...
Status: CLOSED DUPLICATE of bug 236850
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-27 08:09 EST by Tobias Widmer CLA
Modified: 2010-04-29 10:42 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2006-03-27 08:09:19 EST
I20060322-1335

Consider following snippet:

/** @deprecated */
public Test first() {
  return null;
}

@Deprecated
public Test second() {
  return fTest;
}

Hovering over first() shows @deprecated in the hover, while the hover for second() does not. Hover should show deprecation status in the second example as well.
Comment 1 Dani Megert CLA 2006-03-27 08:32:41 EST
What we show have is the Javadoc hover and 
Comment 2 Markus Keller CLA 2008-06-16 10:56:01 EDT
We should look at the modifiers from the Java model and add a custom @deprecated tag in case it does not yest exist in the Javadoc.
Comment 3 Dani Megert CLA 2008-06-16 11:03:24 EDT
See also bug 236850.
Comment 4 Markus Keller CLA 2010-04-29 10:42:36 EDT

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