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 72201

Summary: [50cat] New refactoring: Generate constant
Product: editor Reporter: ieising <ieising>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description ieising 2006-02-03 09:16:37 UTC
[ BUILD # : GA ]
[ JDK VERSION : 1.6 ]

This refactoring would allow you to select a string or a primitive and create a 'static final' field. The string (or primitive) is replaced by the newly created field as well as all (selectable) occurances of the field in the file/package/project.

Iwan
Comment 1 charlweed 2006-05-09 22:57:16 UTC
Yup , this would be really handy.
Comment 2 Jan Becicka 2011-03-28 12:07:15 UTC
already implemented via hints