Bayou is a tool that can automatically generate Java code from a 'sketch' of the desired types and methods to use!
https://info.askbayou.com/how-to-use-bayou/
This uses a neural net trained on a corpus of existing Java code.
Related Posts
Over a sufficiently long time horizon, all code you write is legacy code.
It's really satisfying to use a profiler for the first time on a project. I always find a big performance win with only a small code change.
It's never the code that I expected to be slow, however!
I'm intrigued to see that Google has quantified that new code is generally buggier and less secure than code that has existed in your codebase for longer: https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html