A simple prototype (work in progress, no optimizations, etc.) is here: https://github.com/mkouba/core/tree/WELD-1739
We can use Parameter#isNamePresent() to detect whether a parameter has the name from the class file or not.