Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 468576

Summary: Javadoc range after annotation is not detected for methods
Product: [Eclipse Project] JDT Reporter: Ralf Zozmann <r.zozmann>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Ralf Zozmann CLA 2015-05-28 03:08:10 EDT
In code like this example:

public interface Foo {

    @NotNull
    /**
     * A stupid comment.
     */
    public void bar(int anything);
}

where any annotations comes in front of the javadoc range (as the content assist of Eclipse produce); the javadoc is not present in the java model (org.eclipse.jdt.core.IMember) via ...getJavadocRange().
Without annotation or if annotation is moved after the javadoc range the javadoc is recognized.
Comment 1 Eclipse Genie CLA 2019-12-06 16:22:53 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.