This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 189648

Summary: encapsulation is incomplete
Product: cnd Reporter: tbrunhoff <tbrunhoff>
Component: EditorAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Log file for recent crash.
options export file.

Description tbrunhoff 2010-08-18 18:10:02 UTC
Refactoring in c++ is very useful. However, the encapsulation appears incomplete. You can create setters and getters, but you can't get the refactorer to replace member direct variable use with getter/setter usage. I want to change all RHS usages of to class.getFoo(), and all LHS usages of to class.setFoo(value).

I can understand how -= and += or complex expressions could make this complicated, but if you had a per-instance dialog where the user could correct the syntax, it would be very nice.
Comment 1 tbrunhoff 2010-08-24 16:39:12 UTC
Created attachment 101644 [details]
Log file for recent crash.
Comment 2 tbrunhoff 2010-08-24 23:24:11 UTC
Please ignore attachment... it was intended for another bug.
Comment 3 tbrunhoff 2011-09-07 18:07:49 UTC
Created attachment 110494 [details]
options export file.

My apologies for the double compression... the .zip file was not small enough, adding bzip2 compression got it under 10MB.
Comment 4 tbrunhoff 2011-09-07 18:09:12 UTC
Please ignore attachment... it was intended for another bug.