Java 21 is colorblind - but the colors still exist
If you're starting a new Java codebase from scratch, you can create the structure where the language doesn't using classes, but it'd be nice to have syntactic support for it.
Also, as mentioned by another commenter below - is a file exists operation async? Sync? Why, why not?
(Why? Because it uses internal compiler APIs to change the behaviour of code you write in ways that are not valid: annotation processors are supposed to generate new classes, not mutate existing classes.)
If you want to use something like this today, then you could take a look at Spring 's Async support. It also lets you supply the Executor.