Niclas Hedhman a écrit :
> I just noticed that parameter names are now runtime accessible.

https://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html

> Get the tinfoil thinking hat out, and crank up what this can be used for....

:-)

Here is a first possible use-case: create more meaningful error messages.
Null barrier and constraints are good candidates.


Reply via email to