This would be necessary for this feature in Quarkus, in particular: https://github.com/quarkusio/quarkus/issues/26991
It could be useful for anyone else, though.