eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Enhance Cleanup to replace deprecated method calls to support interface methods
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 23h 30m
- Merged PRs (30d)
- 35
Description
With 4.30 there was this cool feature added:
https://eclipse.dev/eclipse/news/4.30/jdt.html#deprecated-cleanup
but it has an limitation:
> The linked method is actually called in the implementation of the deprecated method
This obviously is almost never the case for interfaces, but actually these are quite often deprecated in interface based designs. It would therefore be great is interfaces that deprecate one method and reference another one could also be supported.
This might have some limitations e.g.
1. Only work if the new method has the same signature but a different name/target type
2. Has less arguments than the old one (e.g. like done with the quickfix to remove parameters)
3. ....
Contributor guide
Assessment
This issue has not been assessed yet.