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 228870

Summary: New API to support CodeStyle's prefix/suffix
Product: java Reporter: Ralph Ruijs <ralphbenjamin>
Component: SourceAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, dbalek, jlahoda, ralphbenjamin
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 65315, 81243, 224242    
Attachments: Proposed API change
Usage of the new API

Description Ralph Ruijs 2013-04-23 00:29:53 UTC
Added the utility class, CodeStyleUtils, to compute getter/setter names and add prefix/suffix to names in a way that complies with the rules specified
in CodeStyle.
Comment 1 Ralph Ruijs 2013-04-23 00:41:53 UTC
Created attachment 133686 [details]
Proposed API change
Comment 2 Ralph Ruijs 2013-04-23 00:46:24 UTC
Created attachment 133687 [details]
Usage of the new API

This patch shows the usages from the modules; beans, java.editor, java.source, refactoring.java. It adds support for prefix/suffix in Code Generation, Code Completion, Hints and Refactoring.
Comment 3 Ralph Ruijs 2013-04-23 00:48:56 UTC
Please review the proposed changes.
Comment 4 Ralph Ruijs 2013-04-29 08:59:15 UTC
If there are no comments, I will integrate tomorrow.
Comment 5 Ralph Ruijs 2013-04-30 21:51:20 UTC
Fixed in jet-main 80f139ccdada
Comment 6 Quality Engineering 2013-05-02 14:11:19 UTC
Integrated into 'main-golden', will be available in build *201305021042* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/80f139ccdada
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #228870 - New API to support CodeStyle's prefix/suffix
#65315 #81243 #224242 - Use CodeStyle's prefix and suffix configuration