Quantifying the benefits of code hints for refactoring deprecated Java APIs DOI: XXXXXXX.XXXXXXX Conference: Companion Proceedings of the 33rd ACM Symposium on the Foundations of Software Engineering; June 23–27, 2025; Trondheim, Norway Companion Proceedings of the 33rd ACM Symposium on the Foundati
Cristina David, Pascal Kesseli, Daniel Kroening, Hanliang Zhang · 2024
Read Quantifying the benefits of code hints for refactoring deprecated Java APIs DOI: XXXXXXX.XXXXXXX Conference: Companion Proceedings of the 33rd ACM Symposium on the Foundations of Software Engineering; June 23–27, 2025; Trondheim, Norway Companion Proceedings of the 33rd ACM Symposium on the Foundati by Cristina David, Pascal Kesseli, Daniel Kroening, Hanliang Zhang (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-08041.txt.
Description
Cristina David, Pascal Kesseli, Daniel Kroening, and Hanliang Zhang ask how much code hints help fix old Java calls in a 2024 paper. When a library retires a method, hand fixing each call site is slow and error prone. Docs for the new method often hold hint snippets. The team built two auto fix engines to test what those hints are worth.
One engine builds fixes from types and parts, and the other leans on language models. They set both loose on the retired methods of a full Java release. With hints, even the weaker engine fixed more than seven in ten tasks. Without hints the best fell to about one in seven. More hints in docs could speed legacy clean up a lot.
Catalog record
| CREATOR | Cristina David, Pascal Kesseli, Daniel Kroening, Hanliang Zhang |
|---|---|
| YEAR | 2024 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 61 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2412-08041