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 - New API to support CodeStyle's prefix/suffix
Summary: New API to support CodeStyle's prefix/suffix
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
Depends on:
Blocks: 65315 81243 224242
  Show dependency tree
Reported: 2013-04-23 00:29 UTC by Ralph Ruijs
Modified: 2013-05-02 14:11 UTC (History)
4 users (show)

See Also:
Exception Reporter:

Proposed API change (18.31 KB, patch)
2013-04-23 00:41 UTC, Ralph Ruijs
Details | Diff
Usage of the new API (199.30 KB, patch)
2013-04-23 00:46 UTC, Ralph Ruijs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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, 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 (upload may still be in progress)
User: Ralph Benjamin Ruijs <>
Log: #228870 - New API to support CodeStyle's prefix/suffix
#65315 #81243 #224242 - Use CodeStyle's prefix and suffix configuration