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.
For factory methods like 'MyClass.createObject()', the 'Assign return value for new variable' generates a variable with the same name of the method. It would be nice if methods starting with 'create' or 'new', like createObject or newInstance had the same behaviour of getters, where the prefix is ignored, and the suffix is the name of the variable. method name: createObject() -> variable name: object method name: newInstance() -> variable name: instance