Bug 269302 - Add comments as a child property of Method declaration
Summary: Add comments as a child property of Method declaration
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Roy Ganor CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2009-03-18 19:58 EDT by Q.S. Wang CLA
Modified: 2020-05-14 11:08 EDT (History)
1 user (show)

See Also:


Attachments
The patch (9.78 KB, patch)
2009-03-18 20:00 EDT, Q.S. Wang CLA
jacek.pospychala: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Q.S. Wang CLA 2009-03-18 19:58:46 EDT
Build ID: 3.5 M5

Steps To Reproduce:
The comments of the method should be treated as a part of the method declaration. This helps the formatting of the method.
1. Added the get/set method on MethodDeclaration.
2. Changed the ASTRewriteFlattener and ASTRewriteFormatter to support formatting of the comments.

More information:
Comment 1 Q.S. Wang CLA 2009-03-18 20:00:41 EDT
Created attachment 129308 [details]
The patch
Comment 2 Roy Ganor CLA 2009-03-19 02:10:41 EDT
The getComment() was moved to the flattner so the change for Comment was removed completely.


Committed to CVS HEAD.

contributed by Qiangsheng W.,

Comment 3 Q.S. Wang CLA 2010-01-27 05:04:10 EST
closing the bug.