New candidate JEP: 432: Record Patterns (2nd Preview)


Enhance the Java programming language with record patterns to deconstruct record values. Record patterns and type patterns can be nested to enable a powerful, declarative, and composable form of data navigation and processing. This is a preview language feature.

More at https://openjdk.org/jeps/432