Once a method is marked as deprecated, are there any tools which replace these methods with non-deprecated workarounds ?
If you would like to do this automatically - no.
The tool is called a programmer.
The reason is that the tools would need to profoundly understand both the deprecation, the 'un-deprecation' , your program and the target programming language.
For instance, java.util.Date.setMonth
is deprecated in favour of Calendar.set(Calendar.MONTH, int month)
.
That is a non-trivial change to apply, since it requires replacing object instantiations, method calls, taking into account synchronisation. Actually nightmarish to do automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With