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.
[ BUILD # : 201210180002 ] [ JDK VERSION : 1.7.9 ] When generating setter (keybord shortcut or alt-insert / code generation) it would be nice to be able to specify that the attributes of the setter method should be made final. example: public void setFoo(final Foo foo) { this.foo = foo; }
It would be nice if this could be done for local variables as well. Example: getSomething(); <alt><return> -> assign to local variable results in final Something something = getSomething();