Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320224 - [Java] comments management: invalid resolution
Summary: [Java] comments management: invalid resolution
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.9.0 M2   Edit
Assignee: Gabriel BARBIER CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 04:39 EDT by Gabriel BARBIER CLA
Modified: 2010-10-18 08:33 EDT (History)
3 users (show)

See Also:
barbier.gabriel: indigo+


Attachments
To illustrate the bug (6.59 KB, application/binary)
2010-07-19 04:39 EDT, Gabriel BARBIER CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel BARBIER CLA 2010-07-19 04:39:12 EDT
Created attachment 174596 [details]
To illustrate the bug

Hello,

During the discovery of java project, it seems that some comments have not been well managed:

- header comment: it have been linked to the "Package" element that contains current class, so it becomes a common comment for each class in the "Package" element.

- comments of methods: if we have several comments in a method, some of them have been linked to the return type instead of the method.

Regards,
Gabriel
Comment 1 Gabriel BARBIER CLA 2010-07-29 10:47:07 EDT
A correction is available in SVN.

A first step of comments management uses the jdt resolution, and to manage specific cases, a second step for unlocated comments, comments linked to the compilation unit and comments inside types, will be performed using an alternate algorithm.
Comment 2 Hugo Bruneliere CLA 2010-10-05 04:21:22 EDT
Bug fixed.