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 218268 - "Add @Override action" on the class name
Summary: "Add @Override action" on the class name
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 09:18 UTC by lforet
Modified: 2012-09-13 14:01 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lforet 2012-09-13 09:18:01 UTC
It will be nice to have the ability to add @Override annotation for a all class and not only a single method.

It is painfull to refact old code with class which has a lot of overriden methods.

Best regards.

Laurent Forêt
Comment 1 Jiri Prox 2012-09-13 11:14:27 UTC
There already is possibility to add @Override annotation at once - just call Refactoring -> Inspect&Transform and select single transformation 'Add @Override'.

You can call this transformation for various scopes - from All opened project to single file
Comment 2 lforet 2012-09-13 14:01:02 UTC
Indeed, it also works for me. Not easy to access but it exists.

Thanks.