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 - encapsulation is incomplete
Summary: encapsulation is incomplete
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
Depends on:
Reported: 2010-08-18 18:10 UTC by tbrunhoff
Modified: 2011-09-07 18:09 UTC (History)
0 users

See Also:
Exception Reporter:

Log file for recent crash. (2.23 MB, application/octet-stream)
2010-08-24 16:39 UTC, tbrunhoff
options export file. (9.92 MB, application/x-bzip)
2011-09-07 18:07 UTC, tbrunhoff

Note You need to log in before you can comment on or make changes to this bug.
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.