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 # : 200502222100 ] [ JDK VERSION : 1.5.0 ] I create a new project for a JDK [1.]5 environment. The source level is well 1.5. I create simple java class (MyFirstClass). I select Tools | Override Methods and choose the toString method in the list of proposed methods and click on ok. The method is generated, icon appaers well in the left margin to indicate that it override the method of the Object class. But the @Override annotation has not been created. It would be nicer if NetBeans could add that annotation in that context. NetBeans can guess it because source level is well 1.5 and version of the project's related JDK version [1.]5. Vincent
This is an enhancement request rather than a bug.
It concerns all OS and All Platform. So, I changed those elements to ALL. What's promo-F ? 4.2 ?
*** Issue 58916 has been marked as a duplicate of this issue. ***
I've faced a similar problem generating an overriden method using code-completion (for instance, typing 'toStr', TAB and selection 'Override toString()'....
The required functionality is also missing when implementing an interface method and source code level is 1.6. I think bug #91716 is a duplicate of this one. Folks, could you please resolve that one as a RESOLVED DUPLICATE?
*** Issue 91716 has been marked as a duplicate of this issue. ***
Works in current trunk build.