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.
Summary: | [81cat] Inconsistent behavior od generate getter/setter | ||
---|---|---|---|
Product: | java | Reporter: | muellermi <muellermi> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dbalek, ralphbenjamin, sdedic |
Priority: | P3 | Keywords: | API_REVIEW_FAST |
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Proposed API change Proposed Impl Proposed API change v2 |
Description
muellermi
2015-09-11 12:15:43 UTC
Created attachment 156095 [details]
IDE log
Reassigned for further evaluation. EncapsulateFieldRefactoringPlugin should respect 'CodeStyle.getClassMemberInsertionPoint() == CodeStyle.InsertionPoint.CARET_LOCATION' when inserting getters and setters. Created attachment 156313 [details]
Proposed API change
Created attachment 156314 [details]
Proposed Impl
Please review attached API change. Thanks! Please do not introduce dependency on editor.lib in java.source.base; it would break Tailwind project. Instead of directly using GuardedDocument, please use DocumentGuards API (or extend it as necessary); see for example GeneratorUtilities::insertClassMember Created attachment 156316 [details]
Proposed API change v2
S1 - The added dependency is removed and impl is updated
changeset: 9843a2c01921 user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Mon Oct 05 11:16:51 2015 +0200 summary: #255214 - [81cat] Inconsistent behavior od generate getter/setter Integrated into 'main-silver', will be available in build *201510060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9843a2c01921 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #255214 - [81cat] Inconsistent behavior od generate getter/setter |