Bug 506137

Summary: [rename] Rename Method refactoring should supporting adding @Deprecated annotation
Product: [Eclipse Project] JDT Reporter: Andreas Sewe <sewe>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andreas Sewe CLA 2016-10-18 07:08:51 EDT
At the moment, the Rename Method dialog's "Mark as deprecated" checkbox only applies the @deprecated *Javadoc tag* to the original method.

If the source level is 1.5 or higher, it should also add the @Deprecated *annotation*.

Not sure whether this is worth a second checkbox or whether the existing "Mark as deprecated" checkbox should control both the Javadoc tag and the Java annotation.