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

Bug 318726

Summary: Weird name for methods when using generates getter and setters on variable "ID"
Product: [Tools] CDT Reporter: skhushalani
Component: cdt-refactoringAssignee: Emanuel Graf <emanuel>
Status: RESOLVED FIXED QA Contact: Emanuel Graf <emanuel>
Severity: minor    
Priority: P3    
Version: 7.0   
Target Milestone: 7.0.1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
NameHelper patch emanuel: iplog+

Description skhushalani CLA 2010-07-02 10:17:57 EDT
Build Identifier: 20100617-1415

Generate getters and setters for variable "ID" creates getD() and setD() instead of getID() and setID().

Reproducible: Always

Steps to Reproduce:
1. Create a class with a variable ID
2. Source > getters & setters
3. Check the cpp source file, there should be methods getD() & setD()
Comment 1 Marc-André Laperle CLA 2010-07-02 14:25:52 EDT
Created attachment 173323 [details]
NameHelper patch

Fix + tests.
Comment 2 Emanuel Graf CLA 2010-07-06 07:20:33 EDT
Patch applied to HEAD and 7.0 > 20100706

Thanks Marc-Andre