Bug 289966 - [misc] Javadoc hover does not support documented annotations
Summary: [misc] Javadoc hover does not support documented annotations
Status: CLOSED DUPLICATE of bug 236850
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 03:14 EDT by Ralf Stuckert CLA
Modified: 2009-09-21 05:16 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 Ralf Stuckert CLA 2009-09-21 03:14:57 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: 20090619-0625

An annotation may itself be marked with the @Documented annotation. The intention is, that any usage of that annotation has to be documented by javadoc and similar tools by default. The javadoc hover should have support for that.

Reproducible: Always

Steps to Reproduce:
1. Create an annotation interface and annotate it as Documented
2. Create a class and annotate the class/method/field with that annotation
3. Make javadoc hover appear for the annotated class/method/field



@Documented
public @interface Foo {
	String bar();
}


public class Ridicolous {
	@Foo(bar="blah")
	public void annotatedMethod() {}
}

The javadoc hover for annotatedMethod() should now show @Foo(bar="blah") as part of the javadoc (see generated javadoc).
Comment 1 Dani Megert CLA 2009-09-21 05:16:39 EDT

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