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.
The insert code tool should have options on the "Generate Constructor" and "Generate Setters" pages to set the modifiers on the method and the arguments, perhaps in the form of checkboxes/dropdowns at the bottom of the popup. For example, if I have a class: class Foo { private String bar; } The current constructor code generator will generate the following: class Foo { private String bar; public Foo(String bar) { this.bar = bar; } } It should be possible to auto-generate the following: class Foo { private String bar; Foo(final String bar) { this.bar = bar; } } User's choice should be saved, but overridden by context-aware circumstance, e.g. the modifier should not be selected to be more open than the one on the class.