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

Bug 411145

Summary: Javadoc content not found for methods of inner classes if the method signature contains arguments
Product: [Eclipse Project] JDT Reporter: Markus Gesell <aue.markus.gesell>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Markus Gesell CLA 2013-06-19 12:13:06 EDT
If method signatures of inner classes contain at least one argument, the javadoc content of this methods is not found by eclipse. The javadoc html content gets created perfectly. I tested this at least with String and double parameters.

When hovering over the method call, the java editor shows the following message within the yellow popup: 'This element has no attached Javadoc and the Javadoc could not be found in the attached source.'

The bug seems to be related to the Bug 354766 which is already fixed. The fix seems to be work only for methods that do not contain any arguments.

Example of a method for which no javadoc gets found by eclipse:

/**
 * Outer class.
 */
public class OuterClass
{
    /**
     * Inner class.
     */
    public class InnerClass
    {
        /**
         * Uses some value.
         * 
         * @param someValue
         *            some value
         */
        public void someMethod(double someValue)
        {

        }
    }
}
Comment 1 Eclipse Genie CLA 2019-10-21 17:30:21 EDT
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.