4 ms·
Features can be found here: https://openjdk.org/projects/jdk/21/ https://openjdk.org/projects/jdk/21/
Features can be found here: https://openjdk.org/projects/jdk/21/ https://openjdk.org/projects/jdk/21/
No autoproperties yet?
record A(B b) {}
It likely will never happen, properties based on naming conventions is a misfeature according to the design team (I have a field named IP, should it be getIp, getIP, or what?)
If you want a data-only object, use records.