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.
I'd like to suggest the following refactoring to be added into Netbeans. 1) "Finalize variables" would scan a class file and suggest adding the "final" keyword to class fields and method variables. The goal would be to improve the correctness of the program moving forward and in past JDKs adding final to a variable used to improve runtime performance. I'm not sure if this is still the case. 2) "Remove unused classes/methods" would scan all classes in a project and indicate which classes/methods may be removed. This is of greater use to applications than to libraries, for obvious reasons.
Reassigning to Refactoring > Java module owner
2) "Remove unused classes/methods" would scan all classes in a project and indicate which classes/methods may be removed. This is of greater use to applications than to libraries, for obvious reasons. -> dup of https://netbeans.org/bugzilla/show_bug.cgi?id=181458
Please confirm whether point 1 has already been implemented. If so, we can close this issue as FIXED or DUPLICATE.