Bug 171214 - [5.0][hovering] javadoc-hover does not show annotations
Summary: [5.0][hovering] javadoc-hover does not show annotations
Status: RESOLVED DUPLICATE of bug 236850
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 08:02 EST by Johannes Rieken CLA
Modified: 2008-08-19 11:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Rieken CLA 2007-01-22 08:02:17 EST
The meta-annotation java.lang.annotation.Documented indicates that the target-annotation should be documented by tools like javadoc and similar. The hover in the Java-Editor does not include such annotations when the doc is created from source.

Steps:

@Documented
@interface Foo {
  String value();
}

class CU {

  /**
   * Some random javadoc...
   */
  @Foo("bar")
  void m(){

  }
}

Hovering over 'm()' shows 
+----------------------+
 | void CU.m()                      |
 | Some random javadoc...   |
+----------------------+

and not

+----------------------+
 | @Foo( value = "bar" )        |
 | void CU.m()                      |
 | Some random javadoc...   |
+----------------------+
Comment 1 Markus Keller CLA 2007-01-22 08:34:09 EST
Same problem with external Javadoc.
Comment 2 Dani Megert CLA 2008-08-19 11:47:14 EDT

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